aboutsummaryrefslogtreecommitdiff
path: root/layer/ductusPrinter.mli
diff options
context:
space:
mode:
Diffstat (limited to 'layer/ductusPrinter.mli')
-rwxr-xr-xlayer/ductusPrinter.mli28
1 files changed, 28 insertions, 0 deletions
diff --git a/layer/ductusPrinter.mli b/layer/ductusPrinter.mli
new file mode 100755
index 0000000..cd849ef
--- /dev/null
+++ b/layer/ductusPrinter.mli
@@ -0,0 +1,28 @@
+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
+
+