Lines Matching refs:bbox
1624 static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) in gdRotatedImageSize() argument
1634 if (gdTransformAffineBoundingBox(&src_area, m, bbox) != GD_TRUE) { in gdRotatedImageSize()
1656 gdRect bbox; in gdImageRotateNearestNeighbour() local
1659 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateNearestNeighbour()
1660 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1661 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1714 gdRect bbox; in gdImageRotateGeneric() local
1727 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateGeneric()
1728 new_width = bbox.width; in gdImageRotateGeneric()
1729 new_height = bbox.height; in gdImageRotateGeneric()
1781 gdRect bbox; in gdImageRotateBilinear() local
1783 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateBilinear()
1785 new_width = bbox.width; in gdImageRotateBilinear()
1786 new_height = bbox.height; in gdImageRotateBilinear()
1900 gdRect bbox; in gdImageRotateBicubicFixed() local
1902 gdRotatedImageSize(src, degrees, &bbox); in gdImageRotateBicubicFixed()
1903 new_width = bbox.width; in gdImageRotateBicubicFixed()
1904 new_height = bbox.height; in gdImageRotateBicubicFixed()
2264 gdRect bbox; in gdTransformAffineGetImage() local
2275 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2277 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); in gdTransformAffineGetImage()
2288 gdAffineTranslate(m, -bbox.x, -bbox.y); in gdTransformAffineGetImage()
2335 gdRect bbox; in gdTransformAffineCopy() local
2362 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2373 end_x = bbox.width + abs(bbox.x); in gdTransformAffineCopy()
2374 end_y = bbox.height + abs(bbox.y); in gdTransformAffineCopy()
2386 for (y = bbox.y; y <= end_y; y++) { in gdTransformAffineCopy()
2399 pt.y = y + 0.5 + bbox.y; in gdTransformAffineCopy()
2410 pt.x = x + 0.5 + bbox.x; in gdTransformAffineCopy()
2448 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox() argument
2481 bbox->x = (int) min.x; in gdTransformAffineBoundingBox()
2482 bbox->y = (int) min.y; in gdTransformAffineBoundingBox()
2483 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox()
2484 bbox->height = (int) floor(max.y - min.y); in gdTransformAffineBoundingBox()