Lines Matching refs:bbox
1642 static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) in gdRotatedImageSize() argument
1652 if (gdTransformAffineBoundingBox(&src_area, m, bbox) != GD_TRUE) { in gdRotatedImageSize()
1674 gdRect bbox; in gdImageRotateNearestNeighbour() local
1677 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateNearestNeighbour()
1678 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1679 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1733 gdRect bbox; in gdImageRotateGeneric() local
1746 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateGeneric()
1747 new_width = bbox.width; in gdImageRotateGeneric()
1748 new_height = bbox.height; in gdImageRotateGeneric()
1801 gdRect bbox; in gdImageRotateBilinear() local
1803 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateBilinear()
1805 new_width = bbox.width; in gdImageRotateBilinear()
1806 new_height = bbox.height; in gdImageRotateBilinear()
1920 gdRect bbox; in gdImageRotateBicubicFixed() local
1922 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateBicubicFixed()
1923 new_width = bbox.width; in gdImageRotateBicubicFixed()
1924 new_height = bbox.height; in gdImageRotateBicubicFixed()
2284 gdRect bbox; in gdTransformAffineGetImage() local
2295 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2297 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); in gdTransformAffineGetImage()
2308 gdAffineTranslate(m, -bbox.x, -bbox.y); in gdTransformAffineGetImage()
2356 gdRect bbox; in gdTransformAffineCopy() local
2385 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2396 end_x = bbox.width + (int) fabs(bbox.x); in gdTransformAffineCopy()
2397 end_y = bbox.height + (int) fabs(bbox.y); in gdTransformAffineCopy()
2406 for (y = bbox.y; y <= end_y; y++) { in gdTransformAffineCopy()
2416 pt.y = y + 0.5 + bbox.y; in gdTransformAffineCopy()
2423 pt.x = x + 0.5 + bbox.x; in gdTransformAffineCopy()
2457 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox() argument
2490 bbox->x = (int) min.x; in gdTransformAffineBoundingBox()
2491 bbox->y = (int) min.y; in gdTransformAffineBoundingBox()
2492 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox()
2493 bbox->height = (int) floor(max.y - min.y); in gdTransformAffineBoundingBox()