Module Hardcaml_waveterm.Draw

module Style : sig ... end

Styling information

type rect = {
r : Hardcaml_waveterm__.Import.int;

rows

c : Hardcaml_waveterm__.Import.int;

cols

w : Hardcaml_waveterm__.Import.int;

width

h : Hardcaml_waveterm__.Import.int;

height

}

A rectangle (no really)

val sexp_of_rect : rect -> Ppx_sexp_conv_lib.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 -> Ppx_sexp_conv_lib.Sexp.t
val unicode_of_piece : piece -> Hardcaml_waveterm__.Import.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 : functor (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