Module Expert.Draw

module Style : sig ... end

Styling information

type rect = {
r : Base.int;(*

rows

*)
c : Base.int;(*

cols

*)
w : Base.int;(*

width

*)
h : Base.int;(*

height

*)
}

A rectangle (no really)

val sexp_of_rect : rect -> Sexplib0.Sexp.t
type piece =
| TL
| BR
| BL
| TR
| V
| H
| T
| Tu
| C
| F
| TH
| BH
| LH
| RH
| QTL
| QBR
| QBL
| QTR
val sexp_of_piece : piece -> Sexplib0.Sexp.t
val unicode_of_piece : piece -> Base.int

unicode value of piece

module type Primitives = sig ... end

The basic functions needed to build the full API

module type S = sig ... end

Main graphics drawing API.

module Make (B : Primitives) : S with type ctx = B.ctx

Construct the API from a Primitives implementation

module In_memory : sig ... end

In memory based API with no external requirements