/*
Ellipses are just short segmented polys.
*/
- if ((fabs(stop.x) < DrawEpsilon) || (fabs(stop.y) < DrawEpsilon))
+ if ((fabs(stop.x) < DrawEpsilon) && (fabs(stop.y) < DrawEpsilon))
return(1);
delta=2.0/MagickMax(stop.x,stop.y);
step=MagickPI/8.0;
if ((delta >= 0.0) && (delta < (MagickPI/8.0)))
step=MagickPI/(4*(MagickPI/delta/2+0.5));
+ if (step < 0.0000001)
+ step=0.0000001;
angle.x=DegreesToRadians(degrees.x);
y=degrees.y;
while (y < degrees.x)
/*
Ellipses are just short segmented polys.
*/
- if ((fabs(stop.x) < DrawEpsilon) || (fabs(stop.y) < DrawEpsilon))
+ if ((fabs(stop.x) < DrawEpsilon) && (fabs(stop.y) < DrawEpsilon))
{
TracePoint(primitive_info,start);
return;
step=MagickPI/8.0;
if ((delta >= 0.0) && (delta < (MagickPI/8.0)))
step=MagickPI/(4*(MagickPI/delta/2+0.5));
+ if (step < 0.0000001)
+ step=0.0000001;
angle.x=DegreesToRadians(degrees.x);
y=degrees.y;
while (y < degrees.x)
MAGICK_VERSION=7.0.7-27
-MAGICK_GIT_REVISION=23345:05c39cf4e:20180312
+MAGICK_GIT_REVISION=23380:472bb6d76:20180316
# Substitute library versioning