diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-01-19 09:02:10 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-01-20 14:58:27 -0500 |
commit | 2e4afeb4bc88a9eefdf926f547776466493f6832 (patch) | |
tree | 8e1f6923eaf6155912893ce7410006d5b501af5c /src/cairo-ft-private.h | |
parent | 8992e26f07ae13fa9700d93ba4766f474f7d68f5 (diff) | |
download | cairo-2e4afeb4bc88a9eefdf926f547776466493f6832.tar.gz |
cairo-ft: Pass the palette to the COLRv1 renderer
It an unnecessary complication for use to pass
the palette index, and have the COLRv1 renderer
pull the palette out of the FT_Face, after we
just selected it.
Diffstat (limited to 'src/cairo-ft-private.h')
-rw-r--r-- | src/cairo-ft-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-ft-private.h b/src/cairo-ft-private.h index 4775d8135..312f65454 100644 --- a/src/cairo-ft-private.h +++ b/src/cairo-ft-private.h @@ -81,7 +81,8 @@ _cairo_render_svg_glyph (const char *svg_document, cairo_private cairo_status_t _cairo_render_colr_v1_glyph (FT_Face face, unsigned long glyph, - FT_UShort palette_index, + FT_Color *palette, + int num_palette_entries, cairo_t *cr); #endif |