diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-01-07 22:41:00 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-01-08 15:15:13 +1030 |
commit | 1129b194b5d65ee27df404106b1b5f51c3739e7e (patch) | |
tree | 5c4d4ce9b57c0bf1a7fff4310ea48c433f80b7b2 /src/cairo-ft-private.h | |
parent | 9ed34574a6f15e9485a44e882da8e715105b6a5a (diff) | |
download | cairo-1129b194b5d65ee27df404106b1b5f51c3739e7e.tar.gz |
Render COLRv1 to a recording surface
Diffstat (limited to 'src/cairo-ft-private.h')
-rw-r--r-- | src/cairo-ft-private.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/cairo-ft-private.h b/src/cairo-ft-private.h index 8ce0e95cd..ba5c81e29 100644 --- a/src/cairo-ft-private.h +++ b/src/cairo-ft-private.h @@ -70,17 +70,13 @@ _cairo_render_svg_glyph (const char *svg_document, cairo_t *cr); #endif +#if HAVE_FT_GET_COLOR_GLYPH_PAINT cairo_private cairo_status_t -_cairo_render_colr_glyph (FT_Face face, - unsigned long glyph, - FT_UShort palette_index, - const cairo_color_t *foreground_color, - cairo_image_surface_t **surface); - -cairo_private int -_cairo_colr_glyph_uses_foreground (FT_Face face, - unsigned long glyph); - +_cairo_render_colr_v1_glyph (FT_Face face, + unsigned long glyph, + FT_UShort palette_index, + cairo_t *cr); +#endif CAIRO_END_DECLS |