Lines Matching refs:bbox
1595 static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) in gdRotatedImageSize() argument
1605 if (gdTransformAffineBoundingBox(&src_area, m, bbox) != GD_TRUE) { in gdRotatedImageSize()
1627 gdRect bbox; in gdImageRotateNearestNeighbour() local
1630 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateNearestNeighbour()
1631 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1632 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1685 gdRect bbox; in gdImageRotateGeneric() local
1698 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateGeneric()
1699 new_width = bbox.width; in gdImageRotateGeneric()
1700 new_height = bbox.height; in gdImageRotateGeneric()
1752 gdRect bbox; in gdImageRotateBilinear() local
1754 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateBilinear()
1756 new_width = bbox.width; in gdImageRotateBilinear()
1757 new_height = bbox.height; in gdImageRotateBilinear()
1871 gdRect bbox; in gdImageRotateBicubicFixed() local
1873 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateBicubicFixed()
1874 new_width = bbox.width; in gdImageRotateBicubicFixed()
1875 new_height = bbox.height; in gdImageRotateBicubicFixed()
2235 gdRect bbox; in gdTransformAffineGetImage() local
2246 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2248 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); in gdTransformAffineGetImage()
2259 gdAffineTranslate(m, -bbox.x, -bbox.y); in gdTransformAffineGetImage()
2306 gdRect bbox; in gdTransformAffineCopy() local
2333 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2344 end_x = bbox.width + abs(bbox.x); in gdTransformAffineCopy()
2345 end_y = bbox.height + abs(bbox.y); in gdTransformAffineCopy()
2357 for (y = bbox.y; y <= end_y; y++) { in gdTransformAffineCopy()
2370 pt.y = y + 0.5 + bbox.y; in gdTransformAffineCopy()
2381 pt.x = x + 0.5 + bbox.x; in gdTransformAffineCopy()
2419 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox() argument
2452 bbox->x = (int) min.x; in gdTransformAffineBoundingBox()
2453 bbox->y = (int) min.y; in gdTransformAffineBoundingBox()
2454 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox()
2455 bbox->height = (int) floor(max.y - min.y); in gdTransformAffineBoundingBox()