aboutsummaryrefslogtreecommitdiff
path: root/layer/linePrinter.mli
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-01-10 21:28:35 +0100
committerSébastien Dailly <sebastien@chimrod.com>2021-01-11 13:55:42 +0100
commit5ee27e786a3f1ed3eecc1e5c36f6e1e551388451 (patch)
tree4c409aee4bcc1aa018207ef86c0b529ed4bce860 /layer/linePrinter.mli
parent12e99cb08790b9e67913e4137da4a4dbcb82f362 (diff)
Correction in the bezier drawing
Diffstat (limited to 'layer/linePrinter.mli')
-rwxr-xr-xlayer/linePrinter.mli29
1 files changed, 29 insertions, 0 deletions
diff --git a/layer/linePrinter.mli b/layer/linePrinter.mli
new file mode 100755
index 0000000..b6e9603
--- /dev/null
+++ b/layer/linePrinter.mli
@@ -0,0 +1,29 @@
+module Make(Repr:Repr.PRINTER): sig
+
+ type repr
+
+ type t = Path.Point.t
+
+ val create_path
+ : 'b -> repr
+
+ (* Start a new path. *)
+ val start
+ : Path.Point.t -> repr -> repr
+
+ val line_to
+ : Path.Point.t -> Path.Point.t -> repr -> repr
+
+ val quadratic_to
+ : (Path.Point.t * Gg.v2 * Gg.v2 * Path.Point.t) -> repr -> repr
+
+ val stop
+ : repr -> repr
+
+ val get
+ : repr -> Repr.t
+
+end
+
+
+