Home
last modified time | relevance | path

Searched refs:inverse_slope (Results 1 – 1 of 1) sorted by relevance

/external/ImageMagick/MagickCore/
Ddraw.c7263 inverse_slope = {0.0, 0.0}, in TraceStrokePolygon() local
7340 inverse_slope.p=0.0; in TraceStrokePolygon()
7352 inverse_slope.p=dx.p < 0.0 ? -1.0/MagickEpsilon : 1.0/MagickEpsilon; in TraceStrokePolygon()
7354 inverse_slope.p=dx.p < 0.0 ? 1.0/MagickEpsilon : -1.0/MagickEpsilon; in TraceStrokePolygon()
7359 inverse_slope.p=(-1.0/slope.p); in TraceStrokePolygon()
7365 offset.x=sqrt((double) (mid*mid/(inverse_slope.p*inverse_slope.p+1.0))); in TraceStrokePolygon()
7366 offset.y=(double) (offset.x*inverse_slope.p); in TraceStrokePolygon()
7370 box_p[0].y=polygon_primitive[0].point.y-offset.x*inverse_slope.p; in TraceStrokePolygon()
7372 box_p[1].y=polygon_primitive[n].point.y-offset.x*inverse_slope.p; in TraceStrokePolygon()
7374 box_q[0].y=polygon_primitive[0].point.y+offset.x*inverse_slope.p; in TraceStrokePolygon()
[all …]