Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <hb-paint.h>
Data Fields | |
float | offset |
hb_bool_t | is_foreground |
hb_color_t | color |
hb_color_stop_t: @offset: the offset of the color stop @is_foreground: whether the color is the foreground @color: the color, unpremultiplied
Information about a color stop on a color line.
Color lines typically have offsets ranging between 0 and 1, but that is not required.
Note: despite @color being unpremultiplied here, interpolation in gradients shall happen in premultiplied space. See the OpenType spec COLR section for details.
Since: 7.0.0
Definition at line 330 of file hb-paint.h.
hb_color_t hb_color_stop_t::color |
Definition at line 333 of file hb-paint.h.
hb_bool_t hb_color_stop_t::is_foreground |
Definition at line 332 of file hb-paint.h.
float hb_color_stop_t::offset |
Definition at line 331 of file hb-paint.h.