diff options
Diffstat (limited to 'third_party/spiro/ppedit/bezctx_intf.h')
-rw-r--r-- | third_party/spiro/ppedit/bezctx_intf.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/spiro/ppedit/bezctx_intf.h b/third_party/spiro/ppedit/bezctx_intf.h new file mode 100644 index 0000000..a47b8ef --- /dev/null +++ b/third_party/spiro/ppedit/bezctx_intf.h @@ -0,0 +1,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); |