colorLineGetColorStops
fn
uint colorLineGetColorStops(harfbuzz.color_line.ColorLine colorLine, uint start, ref harfbuzz.types.ColorStop[] colorStops)Fetches a list of color stops from the given color line object.
Note that due to variations being applied, the returned color stops may be out of order. It is the callers responsibility to ensure that color stops are sorted by their offset before they are used.
Parameters
colorLine | a #hb_color_line_t object |
start | the index of the first color stop to return |
colorStops | Array of #hb_color_stop_t to populate |
Returns
the total number of color stops in color_line