spiro.h 302 B

123456789101112131415161718
  1. typedef struct {
  2. double x;
  3. double y;
  4. char ty;
  5. } spiro_cp;
  6. typedef struct spiro_seg_s spiro_seg;
  7. spiro_seg *
  8. run_spiro(const spiro_cp *src, int n);
  9. void
  10. free_spiro(spiro_seg *s);
  11. void
  12. spiro_to_bpath(const spiro_seg *s, int n, bezctx *bc);
  13. double get_knot_th(const spiro_seg *s, int i);