commit | 08dba4dc3555cbb90c7be59a31c413c26cfba503 | [log] [tgz] |
---|---|---|
author | Dominik Röttsches <drott@chromium.org> | Wed Dec 16 16:14:19 2020 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Thu Jan 14 15:50:37 2021 +0100 |
tree | 8e6a04da391998a44091b8130f8373e31cf8c097 | |
parent | f57c24db63be5abca29108c5df7cbb170fd517af [diff] |
Add new methods required for 'COLR' v1 to public API (#59703). * include/freetype/freetype.h (FT_Get_Color_Glyph_Paint): New method for retrieving the root paint object for a color glyph by specifying a glyph ID. (FT_Get_Paint_Layers): New method for retrieving the layers of a `PaintColorGlyph`. (FT_Get_ColorLine_Stops): New method for retrieving the stops of a color. (FT_Get_Paint): New method for resolving an `FT_OpaquePaint` into an `FT_COLR_Paint` object.