Lines Matching refs:dx
187 int dx, dy, incr1, incr2, D, x, y, xend, c, pixels_left; in VGLLine() local
190 dx = SL_ABSOLUTE(x2, x1, sign_x); in VGLLine()
198 if (dy > dx) { /* chooses axis of greatest movement (make dx) */ in VGLLine()
201 SL_SWAP(dx, dy); in VGLLine()
222 xend = (dx - 1) / 4; in VGLLine()
223 pixels_left = (dx - 1) % 4; /* number of pixels left over at the in VGLLine()
230 incr2 = 4 * dy - 2 * dx; in VGLLine()
234 D = incr1 - dx; in VGLLine()
298 c = 2 * (dy - dx); in VGLLine()
300 D = incr1 + dx; in VGLLine()
407 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; in VGLEllipse() local
409 while (dx<dy) { in VGLEllipse()
414 x++; dx+=bsq2; d+=bsq+dx; in VGLEllipse()
416 d+=(3*(asq-bsq)/2-(dx+dy))/2; in VGLEllipse()
420 x++; dx+=bsq2; d+=dx; in VGLEllipse()
443 int bsq2 = b*b*2, d = bsq-asq*b+asq/4, dx = 0, dy = asq2*b; in VGLFilledEllipse() local
445 while (dx<dy) { in VGLFilledEllipse()
450 x++; dx+=bsq2; d+=bsq+dx; in VGLFilledEllipse()
452 d+=(3*(asq-bsq)/2-(dx+dy))/2; in VGLFilledEllipse()
456 x++; dx+=bsq2; d+=dx; in VGLFilledEllipse()