aboutsummaryrefslogtreecommitdiff
path: root/script.it/layer/wireFramePrinter.mli
blob: b198d58002e99c15311dd3c980c15c7c9531c97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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