diff options
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h index 4c7022d4..29b9cee4 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -1138,6 +1138,14 @@ fz_rect *fz_rect_from_irect(fz_rect *restrict rect, const fz_irect *restrict bbo fz_rect *fz_expand_rect(fz_rect *b, float expand); /* + fz_include_point_in_rect: Expand a bbox to include a given point. + To create a rectangle that encompasses a sequence of points, the + rectangle must first be set to be the empty rectangle at one of + the points before including the others. +*/ +fz_rect *fz_include_point_in_rect(fz_rect *r, const fz_point *p); + +/* fz_translate_irect: Translate bounding box. Translate a bbox by a given x and y offset. Allows for overflow. |