package hardcaml_waveterm

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

Styling information

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

    rows

    *)
  2. c : Base.Int.t;
    (*

    cols

    *)
  3. w : Base.Int.t;
    (*

    width

    *)
  4. h : Base.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 -> Base.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.