Module type Draw.Primitives

The basic functions needed to build the full API

type ctx
type style
val rows : ctx -> Hardcaml_waveterm__.Import.int
val cols : ctx -> Hardcaml_waveterm__.Import.int
val get_bounds : ctx -> rect
val get_style : Style.t -> style
val draw_int : ctx:ctx -> style:style -> bounds:rect -> r:Hardcaml_waveterm__.Import.int -> c:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.unit
val get : ctx:ctx -> bounds:rect -> r:Hardcaml_waveterm__.Import.int -> c:Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.int * Style.t