Skip to content

cf_draw_path_begin

Category: draw
GitHub: cute_draw.h


Begins building a vector path.

void cf_draw_path_begin(void);

Remarks

Follow with cf_draw_path_move_to, cf_draw_path_line_to, cf_draw_path_quad_to, cf_draw_path_cubic_to, and cf_draw_path_close, then bake with cf_draw_path_end. Contours close automatically at cf_draw_path_move_to/cf_draw_path_end (fills require closed contours).

CF_DrawPath
cf_draw_path_end
cf_draw_path_move_to
cf_draw_path_line_to
cf_draw_path_quad_to
cf_draw_path_cubic_to
cf_draw_path_close