Lines Matching refs:width

50 		dst = gdImageCreateTrueColor(crop->width, crop->height);  in gdImageCrop()
56 dst = gdImageCreate(crop->width, crop->height); in gdImageCrop()
70 if ((src->sx - crop->width) < crop->x) { in gdImageCrop()
71 crop->width = src->sx - crop->x; in gdImageCrop()
78 …i\nrect->y: %i\nrect->width: %i\nrect->height: %i\n", crop->x, crop->y, crop->width, crop->height); in gdImageCrop()
85 memcpy(dst->tpixels[dst_y++], src->tpixels[y++] + crop->x, crop->width * 4); in gdImageCrop()
90 for (x = crop->x; x < (crop->x + crop->width); x++) { in gdImageCrop()
116 const int width = gdImageSX(im); in gdImageCropAuto() local
125 crop.width = 0; in gdImageCropAuto()
160 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
176 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
188 for (x = 0; match && x < width; x++) { in gdImageCropAuto()
196 for (x = width - 1; match && x >= 0; x--) { in gdImageCropAuto()
201 crop.width = x - crop.x + 2; in gdImageCropAuto()
202 if (crop.x <= 0 || crop.y <= 0 || crop.width <= 0 || crop.height <= 0) { in gdImageCropAuto()
229 const int width = gdImageSX(im); in gdImageCropThreshold() local
238 crop.width = 0; in gdImageCropThreshold()
256 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
272 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
284 for (x = 0; match && x < width; x++) { in gdImageCropThreshold()
292 for (x = width - 1; match && x >= 0; x--) { in gdImageCropThreshold()
297 crop.width = x - crop.x + 2; in gdImageCropThreshold()