summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-02-23 13:55:14 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-02-27 14:08:02 +0100
commit501b6c31f65b3906845dab10edbc8b17627c40c9 (patch)
tree001a840edaf6dc0484a43d511b9c8762118daf07 /include/mupdf/fitz
parentee6e92b78eee4df8ab06461a3bed1a63c282ff47 (diff)
downloadmupdf-501b6c31f65b3906845dab10edbc8b17627c40c9.tar.xz
Add fz_expand_irect function.
Diffstat (limited to 'include/mupdf/fitz')
-rw-r--r--include/mupdf/fitz/geometry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/geometry.h b/include/mupdf/fitz/geometry.h
index 20d352ef..180ae8da 100644
--- a/include/mupdf/fitz/geometry.h
+++ b/include/mupdf/fitz/geometry.h
@@ -561,6 +561,7 @@ fz_rect *fz_rect_from_irect(fz_rect *restrict rect, const fz_irect *restrict bbo
fz_expand_rect: Expand a bbox by a given amount in all directions.
*/
fz_rect *fz_expand_rect(fz_rect *b, float expand);
+fz_irect *fz_expand_irect(fz_irect *a, int expand);
/*
fz_include_point_in_rect: Expand a bbox to include a given point.