Lines Matching defs:x2
187 VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color)
192 dx = SL_ABSOLUTE(x2, x1, sign_x);
202 SL_SWAP(x2, y2);
208 if (x1 > x2) { /* start from the smaller coordinate */
209 x = x2;
216 x1 = x2;
371 VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color)
373 VGLLine(object, x1, y1, x2, y1, color);
374 VGLLine(object, x2, y1, x2, y2, color);
375 VGLLine(object, x2, y2, x1, y2, color);
380 VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color)
384 for (y=y1; y<=y2; y++) VGLLine(object, x1, y, x2, y, color);