/*
Ellipses are just short segmented polys.
*/
- if ((fabs(stop.x) < DrawEpsilon) && (fabs(stop.y) < DrawEpsilon))
- return(1);
- delta=2.0/MagickMax(stop.x,stop.y);
+ delta=2.0*PerceptibleReciprocal(MagickMax(stop.x,stop.y));
step=MagickPI/8.0;
if ((delta >= 0.0) && (delta < (MagickPI/8.0)))
step=MagickPI/(4.0*(MagickPI*PerceptibleReciprocal(delta)/2.0));
/*
Ellipses are just short segmented polys.
*/
- if ((fabs(stop.x) < DrawEpsilon) && (fabs(stop.y) < DrawEpsilon))
- {
- TracePoint(primitive_info,start);
- return;
- }
- delta=2.0/MagickMax(stop.x,stop.y);
+ delta=2.0*PerceptibleReciprocal(MagickMax(stop.x,stop.y));
step=MagickPI/8.0;
if ((delta >= 0.0) && (delta < (MagickPI/8.0)))
step=MagickPI/(4.0*(MagickPI*PerceptibleReciprocal(delta)/2.0));