mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-07 06:25:03 +00:00
[colr] Add more docs
State explicitly that palette entries are unpremultipled, and link to the spec.
This commit is contained in:
parent
a02c2a911c
commit
a634f6b486
1 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,10 @@ hb_ot_color_palette_get_flags (hb_face_t *face,
|
|||
* for allocating a buffer of suitable size before calling
|
||||
* hb_ot_color_palette_get_colors() a second time.
|
||||
*
|
||||
* The RGBA values in the palette are unpremultiplied. See the
|
||||
* OpenType spec [CPAL](https://learn.microsoft.com/en-us/typography/opentype/spec/cpal)
|
||||
* section for details.
|
||||
*
|
||||
* Return value: the total number of colors in the palette
|
||||
*
|
||||
* Since: 2.1.0
|
||||
|
|
Loading…
Add table
Reference in a new issue