summaryrefslogtreecommitdiff
path: root/src/cairoint.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-04-08 13:21:47 -0400
committerBehdad Esfahbod <behdad@behdad.org>2017-07-29 12:30:50 +0100
commit66228456531c8a80f3985160bf1013248e433681 (patch)
treef2f5c4f35e327fd4ea0b1e0946fafdbcb3e104e9 /src/cairoint.h
parent52b17c724260512873ab0731e2e2314bb0a15e4b (diff)
downloadcairo-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.h3
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 {