package hardcaml_waveterm

  1. Overview
  2. Docs

The basic functions needed to build the full API

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