hb_paint_extend_t

The values of this enumeration determine how color values outside the minimum and maximum defined offset on a #hb_color_line_t are determined.

See the OpenType spec COLR section for details.

Values

ValueMeaning
Pad0

Outside the defined interval, the color of the closest color stop is used.

Repeat1

The color line is repeated over repeated multiples of the defined interval

Reflect2

The color line is repeated over repeated intervals, as for the repeat mode. However, in each repeated interval, the ordering of color stops is the reverse of the adjacent interval.