diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-04-08 13:21:47 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2017-07-29 12:30:50 +0100 |
commit | 66228456531c8a80f3985160bf1013248e433681 (patch) | |
tree | f2f5c4f35e327fd4ea0b1e0946fafdbcb3e104e9 /src/cairo-scaled-font-private.h | |
parent | 52b17c724260512873ab0731e2e2314bb0a15e4b (diff) | |
download | cairo-66228456531c8a80f3985160bf1013248e433681.tar.gz |
Expose 'has color glyphs' as a scaled font property
This information will be used in subsequent commits to quickly
decide that we won't try to handle glpyhs as masks. Implementing
the new has_color_glyphs vfunc is optional - only backends that
support color glyphs need to implement it.
Diffstat (limited to 'src/cairo-scaled-font-private.h')
-rw-r--r-- | src/cairo-scaled-font-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-scaled-font-private.h b/src/cairo-scaled-font-private.h index 6ce6bb6dd..317d21197 100644 --- a/src/cairo-scaled-font-private.h +++ b/src/cairo-scaled-font-private.h @@ -178,6 +178,8 @@ _cairo_scaled_glyph_attach_private (cairo_scaled_glyph_t *scaled_glyph, void (*destroy) (cairo_scaled_glyph_private_t *, cairo_scaled_glyph_t *, cairo_scaled_font_t *)); +cairo_private cairo_bool_t +_cairo_scaled_font_has_color_glyphs (cairo_scaled_font_t *scaled_font); CAIRO_END_DECLS |