Paint

Categorystruct
Typehime_paint_t

Holds the style and color information about how to draw geometries, text and bitmaps.

Properties

hime_paint_style_t style

Stroke or fill.

Default value is kHimePaintStyleFill.

hime_color_t color

Default value is hime_color_create_rgb(0, 0, 0).

float stroke_width

Default value is 1.f.

hime_paint_cap_t stroke_cap

Default value is kHimePaintCapButt.

hime_blend_mode_t blend_mode

The blend mode.

Default value is kHimeBlendModeSrcOver.

bool anti_alias

Default value is true.