Define declarations.
*/
#define BezierQuantum 200
+#define DrawEpsilon (1.0e-6)
+
\f
/*
Typedef declarations.
for (i=0; i < 4; i++)
linecap[i]=(*primitive_info);
linecap[0].coordinates=4;
- linecap[1].point.x+=(double) (10.0*MagickEpsilon);
- linecap[2].point.x+=(double) (10.0*MagickEpsilon);
- linecap[2].point.y+=(double) (10.0*MagickEpsilon);
- linecap[3].point.y+=(double) (10.0*MagickEpsilon);
+ linecap[1].point.x+=DrawEpsilon;
+ linecap[2].point.x+=DrawEpsilon;
+ linecap[2].point.y+=DrawEpsilon;
+ linecap[3].point.y+=DrawEpsilon;
linecap[4].primitive=UndefinedPrimitive;
(void) DrawPolygonPrimitive(image,draw_info,linecap,exception);
}
static inline double DrawEpsilonReciprocal(const double x)
{
-#define DrawEpsilon (1.0e-6)
-
double sign = x < 0.0 ? -1.0 : 1.0;
return((sign*x) >= DrawEpsilon ? 1.0/x : sign*(1.0/DrawEpsilon));
}
#else
#error "MAGICKCORE_QUANTUM_DEPTH must be one of 8, 16, 32, or 64"
#endif
-#define MagickEpsilon (1.0e-12)
+#define MagickEpsilon (1.0e-15)
#define MagickMaximumValue 1.79769313486231570E+308
#define MagickMinimumValue 2.22507385850720140E-308
#define QuantumScale ((double) 1.0/(double) QuantumRange)