diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-04-16 17:45:37 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-04-19 11:25:42 +0100 |
commit | b054f9d0764f38f576fff63bf61488d1de37a447 (patch) | |
tree | fef181bbf3b37ee380cb6ac0ae8102b9e9d2d6ec /fitz | |
parent | 20e279acb98294b3587088c7d42268433481c6c3 (diff) | |
download | mupdf-b054f9d0764f38f576fff63bf61488d1de37a447.tar.xz |
Add new function to return the accurate bbox of a path.
As requested by customer 530.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/fitz-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 2bacef87..e5f3c0fa 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -1457,6 +1457,9 @@ void fz_flatten_fill_path(fz_gel *gel, fz_path *path, const fz_matrix *ctm, floa void fz_flatten_stroke_path(fz_gel *gel, fz_path *path, fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); void fz_flatten_dash_path(fz_gel *gel, fz_path *path, fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); +fz_irect *fz_bound_path_accurate(fz_context *ctx, fz_irect *bbox, const fz_irect *scissor, fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); + + /* * The device interface. */ |