Lines Matching refs:dx
1102 int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag;
1122 dx = abs (x2 - x1);
1125 if (dx == 0) {
1133 if (dy <= dx) {
1136 if ((dx == 0) && (dy == 0)) {
1141 double ac = cos (atan2 (dy, dx));
1151 d = 2 * dy - dx;
1153 incr2 = 2 * (dy - dx);
1205 double as = sin (atan2 (dy, dx));
1215 d = 2 * dx - dy;
1216 incr1 = 2 * dx;
1217 incr2 = 2 * (dx - dy);
1300 long dx, dy,tmp;
1307 dx = x2 - x1;
1310 if (dx == 0 && dy == 0) {
1313 if (abs(dx) > abs(dy)) {
1314 if (dx < 0) {
1321 dx = x2 - x1;
1325 inc = (dy * 65536) / dx;
1349 dx = x2 - x1;
1353 inc = (dx * 65536) / dy;
1376 int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag;
1383 dx = abs(x2 - x1);
1385 if (dy <= dx) {
1389 double as = sin(atan2(dy, dx));
1395 wid = (int)(thick * sin(atan2(dy, dx)));
1398 d = 2 * dy - dx;
1400 incr2 = 2 * (dy - dx);
1439 double as = sin (atan2 (dy, dx));
1447 d = 2 * dx - dy;
1448 incr1 = 2 * dx;
1449 incr2 = 2 * (dx - dy);