aboutsummaryrefslogtreecommitdiff
path: root/path/wireFramePrinter.mli
blob: fa8a5a8be62f19236745f381b4671efc44cdb2ad (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:Layer.Repr.PRINTER): sig

  type repr 

  type t = Point.t

  val create_path
    : 'b -> repr

  (* Start a new path. *)
  val start
    : Point.t -> repr -> repr

  val line_to
    : Point.t -> Point.t -> repr -> repr

  val quadratic_to
    : Point.t -> Gg.v2 -> Gg.v2 -> Point.t -> repr -> repr

  val stop
    : repr -> repr
    

  val get 
    : repr -> Repr.t

end