summaryrefslogtreecommitdiff
path: root/source/fitz/draw-imp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-04-01 18:25:23 +0100
committerRobin Watts <robin.watts@artifex.com>2015-04-06 19:32:01 +0100
commit05e491cddf81813977141e6c89a032fd507d8cb1 (patch)
tree17155acd2db89204f93546c94984d17b0393fd57 /source/fitz/draw-imp.h
parent928939c346e12ecce75d8de573b13c411f1bebd5 (diff)
downloadmupdf-05e491cddf81813977141e6c89a032fd507d8cb1.tar.xz
Bug 694367: Attempt to avoid dropouts of rectangles.
This is not a complete general fix for features dropping out of rendered line art, but merely a fix for one of the more common cases. When rendering rectangles (currently, specifically only those rectangles that are actually defined as rectangles within the path structure), if they are axis aligned, then ensure that they always fill the subpixel line they are on.
Diffstat (limited to 'source/fitz/draw-imp.h')
-rw-r--r--source/fitz/draw-imp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/fitz/draw-imp.h b/source/fitz/draw-imp.h
index ed457d34..3a1ddbd2 100644
--- a/source/fitz/draw-imp.h
+++ b/source/fitz/draw-imp.h
@@ -9,6 +9,7 @@ typedef struct fz_gel_s fz_gel;
fz_gel *fz_new_gel(fz_context *ctx);
void fz_insert_gel(fz_context *ctx, fz_gel *gel, float x0, float y0, float x1, float y1);
+void fz_insert_gel_rect(fz_context *ctx, fz_gel *gel, float x0, float y0, float x1, float y1);
void fz_reset_gel(fz_context *ctx, fz_gel *gel, const fz_irect *clip);
void fz_sort_gel(fz_context *ctx, fz_gel *gel);
fz_irect *fz_bound_gel(fz_context *ctx, const fz_gel *gel, fz_irect *bbox);