double
alpha,
beta,
+ coordinates,
radius;
alpha=bounds.x2-bounds.x1;
beta=bounds.y2-bounds.y1;
radius=hypot(alpha,beta);
- if (points_extent > 21400)
+ coordinates=ceil(MagickPI*MagickPI*radius)+6*BezierQuantum+360;
+ if (coordinates > 21400)
{
(void) ThrowMagickException(exception,GetMagickModule(),DrawError,
"TooManyBezierCoordinates","`%s'",token);
status=MagickFalse;
break;
}
- points_extent=ceil(MagickPI*MagickPI*radius)+6*BezierQuantum+360;
+ points_extent=coordinates;
break;
}
default: