package hardcaml_waveterm

  1. Overview
  2. Docs
A terminal based digital waveform viewer for Hardcaml

Install

Dune Dependency

Authors

Maintainers

Sources

hardcaml_waveterm-v0.12.0.tar.gz
sha256=c06a13a205198549f197733c3a736f026a03ed811a02dbc8c893bbeaf63a2e99
md5=268e7d1bbfe62fe49bc7b77ac392afa2

doc/hardcaml_waveterm.interactive/Hardcaml_waveterm_interactive/Draw_notty/index.html

Module Hardcaml_waveterm_interactive.Draw_notty

Notty based gfx API. We need to use an intermediate in memory representation for notty.

include module type of Hardcaml_waveterm.Draw.In_memory with type style = Hardcaml_waveterm.Draw.In_memory.style
include Hardcaml_waveterm.Draw.S with type ctx = point Hardcaml_waveterm.Import.array Hardcaml_waveterm.Import.array and type style = Hardcaml_waveterm.Draw.Style.t with type style = Hardcaml_waveterm.Draw.In_memory.style

underlying style type

val get_bounds : ctx -> Hardcaml_waveterm.Draw.rect

get context size

convert our style info to underlying style

clear display

fill bounds with char given style

draw string (nothing fancy - horizontal, no breaks)

draw box outline with label

val to_image : ctx -> Notty.I.t
OCaml

Innovation. Community. Security.