get rid of cuda.h usage
Fix determining bounding box of the edge collection in FillEdgeCollection().

There is necessary to account also x-ccordinate of the end of the edge when determining bounding box of the edge collection.
Merge pull request #3447 from a-wi:Fill_ellipse_arc
Merge pull request #3445 from jet47:get-rid-of-cuda-h