package hardcaml_waveterm
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A terminal based digital waveform viewer for Hardcaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=a6780e4310f46cd71ff8a3cdf12bb51afdf0eaea5e84645a148a4ecd0f02920b
doc/hardcaml_waveterm.kernel/Hardcaml_waveterm_kernel/Expert/Draw/Make/index.html
Module Draw.MakeSource
Construct the API from a Primitives implementation
Parameters
module B : PrimitivesSignature
type ctx = B.ctxdrawing context
fill bounds with char given style
val draw_int :
ctx:ctx ->
style:style ->
bounds:rect ->
r:Base.int ->
c:Base.int ->
Base.int ->
Base.unitdraw int (representing unicode value)
Source
val draw_piece :
ctx:ctx ->
style:style ->
bounds:rect ->
r:Base.int ->
c:Base.int ->
piece ->
Base.unitdraw piece
Source
val draw_char :
ctx:ctx ->
style:style ->
bounds:rect ->
r:Base.int ->
c:Base.int ->
Base.char ->
Base.unitdraw char
Source
val draw_string :
ctx:ctx ->
style:style ->
bounds:rect ->
r:Base.int ->
c:Base.int ->
Base.string ->
Base.unitdraw string (nothing fancy - horizontal, no breaks)
draw box outline with label
get value and style at point
invert fg and bg at point
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page