package hardcaml_waveterm

  1. Overview
  2. Docs
module Style : sig ... end

Styling information

type rect = {
  1. r : Hardcaml_waveterm__.Import.Int.t;
    (*

    rows

    *)
  2. c : Hardcaml_waveterm__.Import.Int.t;
    (*

    cols

    *)
  3. w : Hardcaml_waveterm__.Import.Int.t;
    (*

    width

    *)
  4. h : Hardcaml_waveterm__.Import.Int.t;
    (*

    height

    *)
}

A rectangle (no really)

val sexp_of_rect : rect -> Ppx_sexp_conv_lib.Sexp.t
type piece =
  1. | TL
  2. | BR
  3. | BL
  4. | TR
  5. | V
  6. | H
  7. | T
  8. | Tu
  9. | C
  10. | F
  11. | TH
  12. | BH
  13. | LH
  14. | RH
  15. | QTL
  16. | QBR
  17. | QBL
  18. | QTR
val sexp_of_piece : piece -> Ppx_sexp_conv_lib.Sexp.t
val unicode_of_piece : piece -> Hardcaml_waveterm__.Import.Int.t

unicode value of piece

module type Primitives = sig ... end

The basic functions needed to build the full API

module type S = sig ... end

Main graphics drawing API.

module Make (B : Primitives) : S with type ctx = B.ctx

Construct the API from a Primitives implementation

module In_memory : sig ... end

In memory based API with no external requirements

OCaml

Innovation. Community. Security.