Lines Matching refs:y

56 	gdImageCopy(dst, src, 0, 0, crop->x, crop->y, crop->width, crop->height);  in gdImageCrop()
83 int x,y; in gdImageCropAuto() local
88 crop.y = 0; in gdImageCropAuto()
123 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
125 int c2 = gdImageGetPixel(im, x, y); in gdImageCropAuto()
135 crop.y = y - 1; in gdImageCropAuto()
138 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
140 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
143 crop.height = y - crop.y + 2; in gdImageCropAuto()
147 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
148 match = (color == gdImageGetPixel(im, x,y)); in gdImageCropAuto()
155 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
156 match = (color == gdImageGetPixel(im, x,y)); 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
196 crop.y = 0; in gdImageCropThreshold()
214 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
216 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
225 crop.y = y - 1; in gdImageCropThreshold()
228 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold()
230 match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; in gdImageCropThreshold()
233 crop.height = y - crop.y + 2; in gdImageCropThreshold()
237 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
238 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()
245 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
246 match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; in gdImageCropThreshold()