• Home
  • Raw
  • Download

Lines Matching refs:DrawEpsilon

92 #define DrawEpsilon  (1.0e-10)  macro
314 for (x=0; fabs(draw_info->dash_pattern[x]) >= DrawEpsilon; x++) ; in CloneDrawInfo()
398 if ((p->points[0].y-DrawEpsilon) > q->points[0].y) in CompareEdges()
400 if ((p->points[0].y+DrawEpsilon) < q->points[0].y) in CompareEdges()
402 if ((p->points[0].x-DrawEpsilon) > q->points[0].x) in CompareEdges()
404 if ((p->points[0].x+DrawEpsilon) < q->points[0].x) in CompareEdges()
566 ((fabs(path_info[i].point.y-point.y) < DrawEpsilon) && in ConvertPathToPolygon()
770 if ((i == 0) || (fabs(q.x-primitive_info[i].point.x) >= DrawEpsilon) || in ConvertPrimitiveToPath()
771 (fabs(q.y-primitive_info[i].point.y) >= DrawEpsilon)) in ConvertPrimitiveToPath()
780 if ((fabs(p.x-primitive_info[i].point.x) < DrawEpsilon) && in ConvertPrimitiveToPath()
781 (fabs(p.y-primitive_info[i].point.y) < DrawEpsilon)) in ConvertPrimitiveToPath()
990 if (affine->sx >= DrawEpsilon) in AffineEdge()
1002 if (affine->sx < -DrawEpsilon) in AffineEdge()
1023 if (affine->rx >= DrawEpsilon) in AffineEdge()
1035 if (affine->rx < -DrawEpsilon) in AffineEdge()
1524 offset=fabs(draw_info->dash_offset) >= DrawEpsilon ? in DrawDashPolygon()
1556 if (fabs(length) < DrawEpsilon) in DrawDashPolygon()
1559 if (fabs(draw_info->dash_pattern[n]) < DrawEpsilon) in DrawDashPolygon()
1591 if (fabs(draw_info->dash_pattern[n]) < DrawEpsilon) in DrawDashPolygon()
1605 dash_polygon[j].point.x+=DrawEpsilon; in DrawDashPolygon()
1606 dash_polygon[j].point.y+=DrawEpsilon; in DrawDashPolygon()
1661 return((fabs(value) < DrawEpsilon) && (p == point) ? MagickFalse : MagickTrue); in IsPoint()
2850 if ((fabs(affine.sx-1.0) >= DrawEpsilon) || in DrawImage()
2851 (fabs(affine.rx) >= DrawEpsilon) || (fabs(affine.ry) >= DrawEpsilon) || in DrawImage()
2852 (fabs(affine.sy-1.0) >= DrawEpsilon) || in DrawImage()
2853 (fabs(affine.tx) >= DrawEpsilon) || (fabs(affine.ty) >= DrawEpsilon)) in DrawImage()
3369 if (fabs(stop_1->offset-stop_2->offset) <= DrawEpsilon) in StopInfoCompare()
3879 if (fabs(distance-1.0) >= DrawEpsilon) in GetFillAlpha()
3896 if (fabs(beta) < DrawEpsilon) in GetFillAlpha()
3899 if (fabs(distance-1.0) >= DrawEpsilon) in GetFillAlpha()
4283 if ((fabs(q.x-point.x) >= DrawEpsilon) || in LogPrimitiveInfo()
4284 (fabs(q.y-point.y) >= DrawEpsilon)) in LogPrimitiveInfo()
4294 if ((fabs(p.x-point.x) >= DrawEpsilon) || in LogPrimitiveInfo()
4295 (fabs(p.y-point.y) >= DrawEpsilon)) in LogPrimitiveInfo()
4700 (fabs(draw_info->dash_pattern[0]) >= DrawEpsilon) && in DrawPrimitive()
4701 (fabs(scale*draw_info->stroke_width) >= DrawEpsilon) && in DrawPrimitive()
4729 (fabs(primitive_info[i-1].point.x-primitive_info[0].point.x) < DrawEpsilon) && in DrawPrimitive()
4730 (fabs(primitive_info[i-1].point.y-primitive_info[0].point.y) < DrawEpsilon) ? in DrawPrimitive()
4808 linecap[1].point.x+=2.0*DrawEpsilon; in DrawRoundLinecap()
4809 linecap[2].point.x+=2.0*DrawEpsilon; in DrawRoundLinecap()
4810 linecap[2].point.y+=2.0*DrawEpsilon; in DrawRoundLinecap()
4811 linecap[3].point.y+=2.0*DrawEpsilon; in DrawRoundLinecap()
4861 closed_path=(fabs(q->point.x-p->point.x) < DrawEpsilon) && in DrawStrokePolygon()
4862 (fabs(q->point.y-p->point.y) < DrawEpsilon) ? MagickTrue : MagickFalse; in DrawStrokePolygon()
4978 if (fabs(clone_info->pointsize) >= DrawEpsilon) in GetDrawInfo()
5144 if ((fabs(start.x-end.x) < DrawEpsilon) && in TraceArcPath()
5145 (fabs(start.y-end.y) < DrawEpsilon)) in TraceArcPath()
5152 if ((fabs(radii.x) < DrawEpsilon) || (fabs(radii.y) < DrawEpsilon)) in TraceArcPath()
5163 if (delta < DrawEpsilon) in TraceArcPath()
5198 DrawEpsilon)))); in TraceArcPath()
5383 if ((fabs(stop.x) < DrawEpsilon) && (fabs(stop.y) < DrawEpsilon)) in TraceEllipse()
5420 if ((fabs(start.x-end.x) < DrawEpsilon) && in TraceLine()
5421 (fabs(start.y-end.y) < DrawEpsilon)) in TraceLine()
5914 if ((fabs((double) dx) >= DrawEpsilon) || in TraceSquareLinecap()
5915 (fabs((double) dy) >= DrawEpsilon)) in TraceSquareLinecap()
5929 if ((fabs((double) dx) >= DrawEpsilon) || in TraceSquareLinecap()
5930 (fabs((double) dy) >= DrawEpsilon)) in TraceSquareLinecap()
5943 return((sign*x) >= DrawEpsilon ? 1.0/x : sign*(1.0/DrawEpsilon)); in DrawEpsilonReciprocal()
6034 if ((fabs(dx.p) >= DrawEpsilon) || (fabs(dy.p) >= DrawEpsilon)) in TraceStrokePolygon()
6041 if (fabs(dx.p) < DrawEpsilon) in TraceStrokePolygon()
6044 slope.p=dy.p < 0.0 ? -1.0/DrawEpsilon : 1.0/DrawEpsilon; in TraceStrokePolygon()
6046 slope.p=dy.p < 0.0 ? 1.0/DrawEpsilon : -1.0/DrawEpsilon; in TraceStrokePolygon()
6049 if (fabs(dy.p) < DrawEpsilon) in TraceStrokePolygon()
6052 inverse_slope.p=dx.p < 0.0 ? -1.0/DrawEpsilon : 1.0/DrawEpsilon; in TraceStrokePolygon()
6054 inverse_slope.p=dx.p < 0.0 ? 1.0/DrawEpsilon : -1.0/DrawEpsilon; in TraceStrokePolygon()
6109 if (fabs(dx.q) < DrawEpsilon) in TraceStrokePolygon()
6112 slope.q=dy.q < 0.0 ? -1.0/DrawEpsilon : 1.0/DrawEpsilon; in TraceStrokePolygon()
6114 slope.q=dy.q < 0.0 ? 1.0/DrawEpsilon : -1.0/DrawEpsilon; in TraceStrokePolygon()
6117 if (fabs(dy.q) < DrawEpsilon) in TraceStrokePolygon()
6120 inverse_slope.q=dx.q < 0.0 ? -1.0/DrawEpsilon : 1.0/DrawEpsilon; in TraceStrokePolygon()
6122 inverse_slope.q=dx.q < 0.0 ? 1.0/DrawEpsilon : -1.0/DrawEpsilon; in TraceStrokePolygon()
6154 if (fabs((double) (slope.p-slope.q)) < DrawEpsilon) in TraceStrokePolygon()