summaryrefslogtreecommitdiff
path: root/src/cairo-pattern-private.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2016-07-16 14:59:43 +0930
committerAdrian Johnson <ajohnson@redneon.com>2016-07-16 15:42:23 +0930
commit190678f6444ad879847d603c3c9eaf8e9ab6887a (patch)
treeb4385cf201778129a405851bd05897d91fac9d03 /src/cairo-pattern-private.h
parent1a380ef5f37339583b8ab7b964025445b4fbb215 (diff)
downloadcairo-190678f6444ad879847d603c3c9eaf8e9ab6887a.tar.gz
pattern: don't round extents to 0 on vector surfaces
In this bug a Type 3 font contains a dash glyph. The dash glyph consists of an 82x2 image. The image height, when scaled to user space, is < 1 resuling in the drawing operation for the image being culled. https://bugs.freedesktop.org/show_bug.cgi?id=94615
Diffstat (limited to 'src/cairo-pattern-private.h')
-rw-r--r--src/cairo-pattern-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-pattern-private.h b/src/cairo-pattern-private.h
index be8ab9fc2..ad7e2e773 100644
--- a/src/cairo-pattern-private.h
+++ b/src/cairo-pattern-private.h
@@ -296,7 +296,8 @@ _cairo_pattern_sampled_area (const cairo_pattern_t *pattern,
cairo_private void
_cairo_pattern_get_extents (const cairo_pattern_t *pattern,
- cairo_rectangle_int_t *extents);
+ cairo_rectangle_int_t *extents,
+ cairo_bool_t is_vector);
cairo_private cairo_int_status_t
_cairo_pattern_get_ink_extents (const cairo_pattern_t *pattern,