summaryrefslogtreecommitdiff
path: root/third_party/spiro/ppedit/bezctx_intf.h
blob: a47b8ef5a07cee7f36a0877fd79491f94235b2dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
typedef struct _bezctx bezctx;

bezctx *
new_bezctx(void);

void
bezctx_moveto(bezctx *bc, double x, double y, int is_open);

void
bezctx_lineto(bezctx *bc, double x, double y);

void
bezctx_quadto(bezctx *bc, double x1, double y1, double x2, double y2);

void
bezctx_curveto(bezctx *bc, double x1, double y1, double x2, double y2,
	       double x3, double y3);

void
bezctx_mark_knot(bezctx *bc, int knot_idx);