diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 13:57:45 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-01-30 14:13:01 +0100 |
commit | 01e2ccf6ade55cc20e83b80bad81fef6627c9a05 (patch) | |
tree | cf3d40a3ed540ae9cb412cb7473fa469d8adebb7 /fitz/base_geometry.c | |
parent | 594c64f744862b993bcad12e05217f3d43e7d547 (diff) | |
download | mupdf-01e2ccf6ade55cc20e83b80bad81fef6627c9a05.tar.xz |
Rename fz_rect_covering_rect to fz_irect_from_rect.
It used to be called fz_bbox_covering_rect. It does exact rounding outwards
of a rect, so that the resulting irect will always cover the entire
area of the input rect.
Use fz_round_rect for fuzzy rounding where near-integer values are
rounded inwards.
Diffstat (limited to 'fitz/base_geometry.c')
-rw-r--r-- | fitz/base_geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_geometry.c b/fitz/base_geometry.c index 317c8df1..54380c84 100644 --- a/fitz/base_geometry.c +++ b/fitz/base_geometry.c @@ -193,7 +193,7 @@ const fz_irect fz_empty_irect = { 0, 0, 0, 0 }; const fz_irect fz_unit_irect = { 0, 0, 1, 1 }; fz_irect -fz_rect_covering_rect(fz_rect a) +fz_irect_from_rect(fz_rect a) { fz_irect b; |