Lines Matching refs:bbox
2311 gdRect bbox; in gdTransformAffineGetImage() local
2322 gdTransformAffineBoundingBox(src_area, affine, &bbox); in gdTransformAffineGetImage()
2324 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); in gdTransformAffineGetImage()
2335 gdAffineTranslate(m, -bbox.x, -bbox.y); in gdTransformAffineGetImage()
2383 gdRect bbox; in gdTransformAffineCopy() local
2412 if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { in gdTransformAffineCopy()
2423 end_x = bbox.width + (int) fabs(bbox.x); in gdTransformAffineCopy()
2424 end_y = bbox.height + (int) fabs(bbox.y); in gdTransformAffineCopy()
2433 for (y = bbox.y; y <= end_y; y++) { in gdTransformAffineCopy()
2443 pt.y = y + 0.5 + bbox.y; in gdTransformAffineCopy()
2450 pt.x = x + 0.5 + bbox.x; in gdTransformAffineCopy()
2484 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) in gdTransformAffineBoundingBox() argument
2517 bbox->x = (int) min.x; in gdTransformAffineBoundingBox()
2518 bbox->y = (int) min.y; in gdTransformAffineBoundingBox()
2519 bbox->width = (int) floor(max.x - min.x) - 1; in gdTransformAffineBoundingBox()
2520 bbox->height = (int) floor(max.y - min.y); in gdTransformAffineBoundingBox()