diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-04-13 12:27:42 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-04-13 16:33:26 +0100 |
commit | 31265b8439c37fdec06fc3438b77e38068f0a2bc (patch) | |
tree | 5c5b8ccae4974da3915a8573f7a9198a7a03efaf /source/fitz/draw-imp.h | |
parent | 87e828aea737b2e18b9941d5d7888cd4c673627e (diff) | |
download | mupdf-31265b8439c37fdec06fc3438b77e38068f0a2bc.tar.xz |
Scan converter; simplify API.
In all cases we reset the gel before populating it, so pull this
out of the draw device into the population routines.
Diffstat (limited to 'source/fitz/draw-imp.h')
-rw-r--r-- | source/fitz/draw-imp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/draw-imp.h b/source/fitz/draw-imp.h index a8746b4c..52c10257 100644 --- a/source/fitz/draw-imp.h +++ b/source/fitz/draw-imp.h @@ -18,9 +18,9 @@ fz_rect *fz_gel_scissor(fz_context *ctx, const fz_gel *gel, fz_rect *rect); void fz_scan_convert(fz_context *ctx, fz_gel *gel, int eofill, const fz_irect *clip, fz_pixmap *pix, unsigned char *colorbv); -void fz_flatten_fill_path(fz_context *ctx, fz_gel *gel, const fz_path *path, const fz_matrix *ctm, float flatness); -void fz_flatten_stroke_path(fz_context *ctx, fz_gel *gel, const fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); -void fz_flatten_dash_path(fz_context *ctx, fz_gel *gel, const fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); +void fz_flatten_fill_path(fz_context *ctx, fz_gel *gel, const fz_path *path, const fz_matrix *ctm, float flatness, const fz_irect *irect); +void fz_flatten_stroke_path(fz_context *ctx, fz_gel *gel, const fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth, const fz_irect *irect); +void fz_flatten_dash_path(fz_context *ctx, fz_gel *gel, const fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth, const fz_irect *irect); fz_irect *fz_bound_path_accurate(fz_context *ctx, fz_irect *bbox, const fz_irect *scissor, const fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); |