diff options
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h index 19732e42..1bbedd05 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -1029,6 +1029,13 @@ fz_rect fz_union_rect(fz_rect a, fz_rect b); fz_bbox fz_union_bbox(fz_bbox a, fz_bbox b); /* + fz_expand_bbox: Expand a bbox by a given amount in all directions. + + Does not throw exceptions. +*/ +fz_bbox fz_expand_bbox(fz_bbox b, int expand); + +/* fz_translate_bbox: Translate bounding box. Translate a bbox by a given x and y offset. Allows for overflow. |