Lines Matching refs:x

57 	gdImageCopy(dst, src, 0, 0, crop->x, crop->y, crop->width, crop->height);  in gdImageCrop()
84 int x,y; in gdImageCropAuto() local
88 crop.x = 0; in gdImageCropAuto()
122 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
123 int c2 = gdImageGetPixel(im, x, y); in gdImageCropAuto()
137 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
138 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
144 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
146 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
149 crop.x = x - 1; in gdImageCropAuto()
152 for (x = width - 1; match && x >= 0; x--) { in gdImageCropAuto()
154 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
157 crop.width = x - crop.x + 2; in gdImageCropAuto()
186 int x,y; in gdImageCropThreshold() local
190 crop.x = 0; in gdImageCropThreshold()
210 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
211 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
224 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
225 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold()
231 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
233 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
236 crop.x = x - 1; in gdImageCropThreshold()
239 for (x = width - 1; match && x >= 0; x--) { in gdImageCropThreshold()
241 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
244 crop.width = x - crop.x + 2; in gdImageCropThreshold()