Make.1-Gval rows : ctx -> Base.intval cols : ctx -> Base.intval get_bounds : ctx -> Hardcaml_waveterm__Draw.rectget context size
val get_style : Hardcaml_waveterm__Draw.Style.t -> styleconvert our style info to underlying style
val clear : ctx -> Base.unitclear display
fill bounds with char given style
val draw_int :
ctx:ctx ->
style:style ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Base.int ->
Base.unitdraw int (representing unicode value)
val draw_piece :
ctx:ctx ->
style:style ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Hardcaml_waveterm__Draw.piece ->
Base.unitdraw piece
val draw_char :
ctx:ctx ->
style:style ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Base.char ->
Base.unitdraw char
val draw_string :
ctx:ctx ->
style:style ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Base.string ->
Base.unitdraw string (nothing fancy - horizontal, no breaks)
val draw_box :
ctx:ctx ->
style:style ->
bounds:Hardcaml_waveterm__Draw.rect ->
Base.string ->
Base.unitdraw box outline with label
val get :
ctx:ctx ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Base.int * Hardcaml_waveterm__Draw.Style.tget value and style at point
val inv :
ctx:ctx ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Base.unitinvert fg and bg at point
val bold :
ctx:ctx ->
bounds:Hardcaml_waveterm__Draw.rect ->
r:Base.int ->
c:Base.int ->
Base.unitset bold on point