Lines Matching defs:dx
75 gdraw(int dx, int dy, int val)
80 if (dx != 0) {
82 cur_x += dx;
83 if (dx < 0) {
84 i += dx;
85 dx = -dx;
88 for (; dx >= 0; --dx, ++i) {
113 static int dx, dy;
143 dx = 0; dy = mul;
146 dx = mul; dy = 0;
149 dx = 0; dy = -mul;
152 (void)gdraw(dx, dy, curve); out = 0;
167 tmp = dx; dx = dy; dy = -tmp; /* turn right */
171 tmp = dx; dx = -dy; dy = tmp; /* turn left */
173 if (gdraw(dx, dy, curve)) {