summaryrefslogtreecommitdiff
path: root/src/cairo-gstate.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2015-09-21 21:35:05 +0930
committerAdrian Johnson <ajohnson@redneon.com>2015-10-17 18:39:18 +1030
commitb1192beac7c5b56a8ff356d20af5ebfb65404109 (patch)
treec83aaf37901d093856da9a96cdfce9eb2d386e3d /src/cairo-gstate.c
parent6656cafebfdac3365e8f903eb408043507a5e551 (diff)
downloadcairo-b1192beac7c5b56a8ff356d20af5ebfb65404109.tar.gz
Don't cull very thin lines on vector surfaces
On vector surfaces, use a minimum line width when calculating extents. Bug 77298
Diffstat (limited to 'src/cairo-gstate.c')
-rw-r--r--src/cairo-gstate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c
index 4bf945cad..4c7eb11ce 100644
--- a/src/cairo-gstate.c
+++ b/src/cairo-gstate.c
@@ -1228,6 +1228,7 @@ _cairo_gstate_in_stroke (cairo_gstate_t *gstate,
_cairo_path_fixed_approximate_stroke_extents (path,
&gstate->stroke_style,
&gstate->ctm,
+ gstate->target->is_vector,
&extents);
if (x < extents.x || x > extents.x + extents.width ||
y < extents.y || y > extents.y + extents.height)