Lines Matching refs:y2

813 	int x1, y1, x2, y2;  in gdImageBrushApply()  local
822 y2 = y1 + gdImageSY(im->brush); in gdImageBrushApply()
830 for (ly = y1; ly < y2; ly++) { in gdImageBrushApply()
845 for (ly = y1; ly < y2; ly++) { in gdImageBrushApply()
861 for (ly = y1; ly < y2; ly++) { in gdImageBrushApply()
971 static void _gdImageFilledHRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color);
1076 static void gdImageVLine(gdImagePtr im, int x, int y1, int y2, int col) in gdImageVLine() argument
1080 gdImageFilledRectangle(im, x - thickhalf, y1, x + im->thick - thickhalf - 1, y2, col); in gdImageVLine()
1082 if (y2 < y1) { in gdImageVLine()
1084 y1 = y2; in gdImageVLine()
1085 y2 = t; in gdImageVLine()
1088 for (;y1 <= y2; y1++) { in gdImageVLine()
1096 void gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) in gdImageLine() argument
1109 gdImageAALine(im, x1, y1, x2, y2, im->AA_color); in gdImageLine()
1114 if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)-1) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im)-1)) { in gdImageLine()
1119 dy = abs (y2 - y1); in gdImageLine()
1122 gdImageVLine(im, x1, y1, y2, color); in gdImageLine()
1152 y = y2; in gdImageLine()
1168 if (((y2 - y1) * ydirflag) > 0) { in gdImageLine()
1214 if (y1 > y2) { in gdImageLine()
1215 y = y2; in gdImageLine()
1222 yend = y2; in gdImageLine()
1292 void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col) in gdImageAALine() argument
1300 gdImageLine(im, x1, y1, x2, y2, col); in gdImageAALine()
1305 if (!clip_1d(&x1,&y1,&x2,&y2,gdImageSX(im)-1) || !clip_1d(&y1,&x1,&y2,&x2,gdImageSY(im)-1)) { in gdImageAALine()
1310 dy = y2 - y1; in gdImageAALine()
1321 y1 = y2; in gdImageAALine()
1322 y2 = tmp; in gdImageAALine()
1324 dy = y2 - y1; in gdImageAALine()
1349 y1 = y2; in gdImageAALine()
1350 y2 = tmp; in gdImageAALine()
1352 dy = y2 - y1; in gdImageAALine()
1357 for (y = y1; y <= y2; y++) { in gdImageAALine()
1376 void gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) in gdImageDashedLine() argument
1386 dy = abs(y2 - y1); in gdImageDashedLine()
1404 y = y2; in gdImageDashedLine()
1414 if (((y2 - y1) * ydirflag) > 0) { in gdImageDashedLine()
1451 if (y1 > y2) { in gdImageDashedLine()
1452 y = y2; in gdImageDashedLine()
1459 yend = y2; in gdImageDashedLine()
2142 void gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) in gdImageRectangle() argument
2147 if (x1 == x2 && y1 == y2 && thick == 1) { in gdImageRectangle()
2152 if (y2 < y1) { in gdImageRectangle()
2154 y1 = y2; in gdImageRectangle()
2155 y2 = t; in gdImageRectangle()
2172 y2lr = y2 + half; in gdImageRectangle()
2208 if (x1 == x2 || y1 == y2) { in gdImageRectangle()
2209 gdImageLine(im, x1, y1, x2, y2, color); in gdImageRectangle()
2212 gdImageLine(im, x1, y2, x2, y2, color); in gdImageRectangle()
2213 gdImageLine(im, x1, y1 + 1, x1, y2 - 1, color); in gdImageRectangle()
2214 gdImageLine(im, x2, y1 + 1, x2, y2 - 1, color); in gdImageRectangle()
2219 static void _gdImageFilledHRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) in _gdImageFilledHRectangle() argument
2223 if (x1 == x2 && y1 == y2) { in _gdImageFilledHRectangle()
2234 if (y1 > y2) { in _gdImageFilledHRectangle()
2236 y1 = y2; in _gdImageFilledHRectangle()
2237 y2 = y; in _gdImageFilledHRectangle()
2252 if (y2 >= gdImageSY(im)) { in _gdImageFilledHRectangle()
2253 y2 = gdImageSY(im) - 1; in _gdImageFilledHRectangle()
2257 for (y = y1; (y <= y2); y++) { in _gdImageFilledHRectangle()
2263 static void _gdImageFilledVRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) in _gdImageFilledVRectangle() argument
2267 if (x1 == x2 && y1 == y2) { in _gdImageFilledVRectangle()
2278 if (y1 > y2) { in _gdImageFilledVRectangle()
2280 y1 = y2; in _gdImageFilledVRectangle()
2281 y2 = y; in _gdImageFilledVRectangle()
2296 if (y2 >= gdImageSY(im)) { in _gdImageFilledVRectangle()
2297 y2 = gdImageSY(im) - 1; in _gdImageFilledVRectangle()
2300 for (y = y1; (y <= y2); y++) { in _gdImageFilledVRectangle()
2307 void gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) in gdImageFilledRectangle() argument
2309 _gdImageFilledVRectangle(im, x1, y1, x2, y2, color); in gdImageFilledRectangle()
2736 int x2, y2; in gdImageFilledPolygon() local
2815 y2 = p[ind2].y; in gdImageFilledPolygon()
2816 if (y1 < y2) { in gdImageFilledPolygon()
2819 } else if (y1 > y2) { in gdImageFilledPolygon()
2820 y2 = p[ind1].y; in gdImageFilledPolygon()
2831 if (y >= y1 && y < y2) { in gdImageFilledPolygon()
2832 im->polyInts[ints++] = (float) ((y - y1) * (x2 - x1)) / (float) (y2 - y1) + 0.5 + x1; in gdImageFilledPolygon()
2833 } else if (y == pmaxy && y == y2) { in gdImageFilledPolygon()
3102 void gdImageSetClip (gdImagePtr im, int x1, int y1, int x2, int y2) in gdImageSetClip() argument
3122 if (y2 < 0) { in gdImageSetClip()
3123 y2 = 0; in gdImageSetClip()
3125 if (y2 >= im->sy) { in gdImageSetClip()
3126 y2 = im->sy - 1; in gdImageSetClip()
3131 im->cy2 = y2; in gdImageSetClip()