Lines Matching refs:y
57 gdImageCopy(dst, src, 0, 0, crop->x, crop->y, crop->width, crop->height); in gdImageCrop()
84 int x,y; in gdImageCropAuto() local
89 crop.y = 0; in gdImageCropAuto()
121 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
123 int c2 = gdImageGetPixel(im, x, y); in gdImageCropAuto()
133 crop.y = y - 1; in gdImageCropAuto()
136 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
138 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
141 crop.height = y - crop.y + 2; in gdImageCropAuto()
145 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
146 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
153 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
154 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
186 int x,y; in gdImageCropThreshold() local
191 crop.y = 0; in gdImageCropThreshold()
209 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
211 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
220 crop.y = y - 1; in gdImageCropThreshold()
223 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold()
225 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold()
228 crop.height = y - crop.y + 2; in gdImageCropThreshold()
232 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
233 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
240 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
241 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()