From 5ee27e786a3f1ed3eecc1e5c36f6e1e551388451 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 10 Jan 2021 21:28:35 +0100 Subject: Correction in the bezier drawing --- layer/fillPrinter.mli | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 layer/fillPrinter.mli (limited to 'layer/fillPrinter.mli') diff --git a/layer/fillPrinter.mli b/layer/fillPrinter.mli new file mode 100755 index 0000000..c1bb30e --- /dev/null +++ b/layer/fillPrinter.mli @@ -0,0 +1,27 @@ +module Make(Repr:Repr.PRINTER): sig + + type repr + + type t = Path.Point.t + + val create_path + : (Repr.t -> Repr.t) -> 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 + -- cgit v1.2.3