Lines Matching refs:x

56 	gdImageCopy(dst, src, 0, 0, crop->x, crop->y, crop->width, crop->height);  in gdImageCrop()
83 int x,y; in gdImageCropAuto() local
87 crop.x = 0; in gdImageCropAuto()
124 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
125 int c2 = gdImageGetPixel(im, x, y); in gdImageCropAuto()
139 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
140 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
146 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
148 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
151 crop.x = x - 1; in gdImageCropAuto()
154 for (x = width - 1; match && x >= 0; x--) { in gdImageCropAuto()
156 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
159 crop.width = x - crop.x + 2; in gdImageCropAuto()
161 if (crop.x < 0 || crop.y < 0 || crop.width <= 0 || crop.height <= 0) { in gdImageCropAuto()
191 int x,y; in gdImageCropThreshold() local
195 crop.x = 0; in gdImageCropThreshold()
215 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
216 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
229 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
230 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold()
236 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
238 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
241 crop.x = x - 1; in gdImageCropThreshold()
244 for (x = width - 1; match && x >= 0; x--) { in gdImageCropThreshold()
246 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
249 crop.width = x - crop.x + 2; in gdImageCropThreshold()