summaryrefslogtreecommitdiff
path: root/third_party/spiro/ppedit/cornu.h
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2014-07-26 11:20:29 -0700
committerRoozbeh Pournader <roozbeh@google.com>2014-07-26 11:20:29 -0700
commit0f1bd27678fb542f8601bbaf493baa1c22732fe2 (patch)
tree78ecb8f8082fb1b3ae24720549578b9272f36f0c /third_party/spiro/ppedit/cornu.h
parent5a480b939b43dec473550292501a88518fe1208c (diff)
Add Spiro version 0.01.
Diffstat (limited to 'third_party/spiro/ppedit/cornu.h')
-rw-r--r--third_party/spiro/ppedit/cornu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/spiro/ppedit/cornu.h b/third_party/spiro/ppedit/cornu.h
new file mode 100644
index 0000000..f4a955a
--- /dev/null
+++ b/third_party/spiro/ppedit/cornu.h
@@ -0,0 +1,13 @@
+void
+cornu_to_bpath(const double xs[], const double ys[], const double ths[], int n,
+ bezctx *bc, double tol, int closed, int kt0, int n_kt);
+
+void
+local_ths(const double xs[], const double ys[], double ths[], int n, int closed);
+
+void
+endpoint_ths(const double xs[], const double ys[], double ths[], int n);
+
+void
+tweak_ths(const double xs[], const double ys[], double ths[], int n,
+ double delt, int closed);