diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-02-21 14:33:56 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-02-27 14:08:02 +0100 |
commit | ee6e92b78eee4df8ab06461a3bed1a63c282ff47 (patch) | |
tree | 732379154ae2cd47eb17f8bfdf621549886c4620 /include/mupdf/fitz/geometry.h | |
parent | bcfee39b0ab6de6a5fa223f1e204a35e39a92bb4 (diff) | |
download | mupdf-ee6e92b78eee4df8ab06461a3bed1a63c282ff47.tar.xz |
Add fz_translate_rect helper function.
Diffstat (limited to 'include/mupdf/fitz/geometry.h')
-rw-r--r-- | include/mupdf/fitz/geometry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/geometry.h b/include/mupdf/fitz/geometry.h index f1f1501f..20d352ef 100644 --- a/include/mupdf/fitz/geometry.h +++ b/include/mupdf/fitz/geometry.h @@ -575,6 +575,7 @@ fz_rect *fz_include_point_in_rect(fz_rect *r, const fz_point *p); Translate a bbox by a given x and y offset. Allows for overflow. */ +fz_rect *fz_translate_rect(fz_rect *a, float xoff, float yoff); fz_irect *fz_translate_irect(fz_irect *a, int xoff, int yoff); /* |