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/cairoint.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/cairoint.h')
-rw-r--r-- | src/cairoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index a04a92e94..f64355921 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -608,6 +608,9 @@ struct _cairo_scaled_font_backend { long offset, unsigned char *buffer, unsigned long *length); + + cairo_bool_t + (*has_color_glyphs) (void *scaled_font); }; struct _cairo_font_face_backend { |