package hardcaml_waveterm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Style : sig ... end

Styling information

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

    rows

    *)
  2. c : Base.int;
    (*

    cols

    *)
  3. w : Base.int;
    (*

    width

    *)
  4. h : Base.int;
    (*

    height

    *)
}

A rectangle (no really)

val sexp_of_rect : rect -> Sexplib0.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 -> Sexplib0.Sexp.t
val unicode_of_piece : piece -> Base.int

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.