Lines Matching refs:height

50 		dst = gdImageCreateTrueColor(crop->width, crop->height);  in gdImageCrop()
56 dst = gdImageCreate(crop->width, crop->height); in gdImageCrop()
73 if ((src->sy - crop->height) < crop->y) { in gdImageCrop()
74 crop->height = src->sy - crop->y; in gdImageCrop()
78 …i\nrect->y: %i\nrect->width: %i\nrect->height: %i\n", crop->x, crop->y, crop->width, crop->height); in gdImageCrop()
83 while (y < (crop->y + crop->height)) { in gdImageCrop()
89 for (y = crop->y; y < (crop->y + crop->height); y++) { in gdImageCrop()
117 const int height = gdImageSY(im); in gdImageCropAuto() local
126 crop.height = 0; in gdImageCropAuto()
159 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
169 if (y == height - 1) { in gdImageCropAuto()
175 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
182 crop.height = height - crop.y + 1; in gdImageCropAuto()
184 crop.height = y - crop.y + 2; in gdImageCropAuto()
189 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropAuto()
197 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropAuto()
202 if (crop.x <= 0 || crop.y <= 0 || crop.width <= 0 || crop.height <= 0) { in gdImageCropAuto()
230 const int height = gdImageSY(im); in gdImageCropThreshold() local
239 crop.height = 0; in gdImageCropThreshold()
255 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
265 if (y == height - 1) { in gdImageCropThreshold()
271 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold()
278 crop.height = height - crop.y + 1; in gdImageCropThreshold()
280 crop.height = y - crop.y + 2; in gdImageCropThreshold()
285 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropThreshold()
293 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropThreshold()