diff options
Diffstat (limited to 'third_party/spiro/ppedit/spiro.h')
-rw-r--r-- | third_party/spiro/ppedit/spiro.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/spiro/ppedit/spiro.h b/third_party/spiro/ppedit/spiro.h new file mode 100644 index 0000000..54de404 --- /dev/null +++ b/third_party/spiro/ppedit/spiro.h @@ -0,0 +1,18 @@ +typedef struct { + double x; + double y; + char ty; +} spiro_cp; + +typedef struct spiro_seg_s spiro_seg; + +spiro_seg * +run_spiro(const spiro_cp *src, int n); + +void +free_spiro(spiro_seg *s); + +void +spiro_to_bpath(const spiro_seg *s, int n, bezctx *bc); + +double get_knot_th(const spiro_seg *s, int i); |