summaryrefslogtreecommitdiff
path: root/third_party/spiro/ppedit/bezctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/spiro/ppedit/bezctx.h')
-rw-r--r--third_party/spiro/ppedit/bezctx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/spiro/ppedit/bezctx.h b/third_party/spiro/ppedit/bezctx.h
new file mode 100644
index 0000000..057312e
--- /dev/null
+++ b/third_party/spiro/ppedit/bezctx.h
@@ -0,0 +1,10 @@
+#include "bezctx_intf.h"
+
+struct _bezctx {
+ void (*moveto)(bezctx *bc, double x, double y, int is_open);
+ void (*lineto)(bezctx *bc, double x, double y);
+ void (*quadto)(bezctx *bc, double x1, double y1, double x2, double y2);
+ void (*curveto)(bezctx *bc, double x1, double y1, double x2, double y2,
+ double x3, double y3);
+ void (*mark_knot)(bezctx *bc, int knot_idx);
+};