dy*(distance+offset)/distance);
}
-static inline double DrawEpsilonReciprocal(const double x)
-{
- double sign = x < 0.0 ? -1.0 : 1.0;
- return((sign*x) >= DrawEpsilon ? 1.0/x : sign*(1.0/DrawEpsilon));
-}
-
static PrimitiveInfo *TraceStrokePolygon(const DrawInfo *draw_info,
const PrimitiveInfo *primitive_info)
{
}
gamma=0.0;
pixel=0.0;
- if ((GetPixelChannelTraits(image,AlphaChannel) == UndefinedPixelTrait) ||
+ if ((GetPixelChannelTraits(image,AlphaPixelChannel) == UndefinedPixelTrait) ||
(channel == AlphaPixelChannel))
{
for (j=0; j < (ssize_t) n; j+=(ssize_t) step)