Searched refs:crop (Results 1 – 4 of 4) sorted by relevance
65 if (crop->x < 0 || crop->x>=src->sx || crop->y<0 || crop->y>=src->sy) { in gdImageCrop()71 crop->width = src->sx - crop->x; in gdImageCrop()74 crop->height = src->sy - crop->y; in gdImageCrop()83 while (y < (crop->y + crop->height)) { in gdImageCrop()89 for (y = crop->y; y < (crop->y + crop->height); y++) { in gdImageCrop()90 for (x = crop->x; x < (crop->x + crop->width); x++) { in gdImageCrop()179 crop.height = y - crop.y + 2; in gdImageCropAuto()195 crop.width = x - crop.x + 2; in gdImageCropAuto()197 if (crop.x < 0 || crop.y < 0 || crop.width <= 0 || crop.height <= 0) { in gdImageCropAuto()269 crop.height = y - crop.y + 2; in gdImageCropThreshold()[all …]
849 gdImagePtr gdImageCrop(gdImagePtr src, const gdRectPtr crop);
24 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
27 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
Completed in 11 milliseconds