Lines Matching refs:dy
1042 int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag; in gdImageLine() local
1063 dy = abs (y2 - y1); in gdImageLine()
1068 } else if (dy == 0) { in gdImageLine()
1073 if (dy <= dx) { in gdImageLine()
1076 if ((dx == 0) && (dy == 0)) { in gdImageLine()
1081 double ac = cos (atan2 (dy, dx)); in gdImageLine()
1091 d = 2 * dy - dx; in gdImageLine()
1092 incr1 = 2 * dy; in gdImageLine()
1093 incr2 = 2 * (dy - dx); in gdImageLine()
1145 double as = sin (atan2 (dy, dx)); in gdImageLine()
1155 d = 2 * dx - dy; in gdImageLine()
1157 incr2 = 2 * (dx - dy); in gdImageLine()
1240 long dx, dy,tmp; in gdImageAALine() local
1254 dy = y2 - y1; in gdImageAALine()
1256 if (dx == 0 && dy == 0) { in gdImageAALine()
1259 if (abs((int)dx) > abs((int)dy)) { in gdImageAALine()
1268 dy = y2 - y1; in gdImageAALine()
1271 inc = (dy * 65536) / dx; in gdImageAALine()
1288 if (dy < 0) { in gdImageAALine()
1296 dy = y2 - y1; in gdImageAALine()
1299 inc = (dx * 65536) / dy; in gdImageAALine()
1322 int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag; in gdImageDashedLine() local
1330 dy = abs(y2 - y1); in gdImageDashedLine()
1331 if (dy <= dx) { in gdImageDashedLine()
1335 double as = sin(atan2(dy, dx)); in gdImageDashedLine()
1343 d = 2 * dy - dx; in gdImageDashedLine()
1344 incr1 = 2 * dy; in gdImageDashedLine()
1345 incr2 = 2 * (dy - dx); in gdImageDashedLine()
1384 double as = sin (atan2 (dy, dx)); in gdImageDashedLine()
1392 d = 2 * dx - dy; in gdImageDashedLine()
1394 incr2 = 2 * (dx - dy); in gdImageDashedLine()
1718 int64_t aq,bq,dx,dy,r,rx,ry,a,b; in gdImageEllipse() local
1730 dy = bq << 1; in gdImageEllipse()
1744 rx -=dy; in gdImageEllipse()
1757 int64_t aq,bq,dx,dy,r,rx,ry,a,b; in gdImageFilledEllipse() local
1774 dy = bq << 1; in gdImageFilledEllipse()
1789 rx -=dy; in gdImageFilledEllipse()
1901 struct seg {int y, xl, xr, dy;}; member
1907 {sp->y = Y; sp->xl = XL; sp->xr = XR; sp->dy = DY; sp++;}
1910 {sp--; Y = sp->y+(DY = sp->dy); XL = sp->xl; XR = sp->xr;}
1916 int l, x1, x2, dy; in gdImageFill() local
1973 FILL_POP(y, x1, x2, dy); in gdImageFill()
1985 FILL_PUSH(y, l, x1-1, -dy); in gdImageFill()
1992 FILL_PUSH(y, l, x-1, dy); in gdImageFill()
1995 FILL_PUSH(y, x2+1, x-1, -dy); in gdImageFill()
2012 int i, l, x1, x2, dy; in _gdImageFillTiled() local
2043 FILL_POP(y, x1, x2, dy); in _gdImageFillTiled()
2056 FILL_PUSH(y, l, x1-1, -dy); in _gdImageFillTiled()
2065 FILL_PUSH(y, l, x-1, dy); in _gdImageFillTiled()
2068 FILL_PUSH(y, x2+1, x-1, -dy); in _gdImageFillTiled()