package matrix

  1. Overview
  2. Docs

Module Matrix_grid.UnsafeSource

Sourceval get_codepoint : t -> int -> int
Sourceval get_attrs : t -> int -> int
Sourceval get_fg : t -> int -> Ansi.Color.t
Sourceval get_bg : t -> int -> Ansi.Color.t
Sourceval cell_text_length : t -> int -> int
Sourceval blit_cell_text : t -> int -> bytes -> pos:int -> int
Sourceval cell_width : t -> int -> int
Sourceval is_empty : t -> int -> bool
Sourceval cells_equal : t -> int -> t -> int -> bool
Sourceval is_picture : t -> int -> bool

is_picture g idx is picture_at g idx <> None, unchecked.

Sourceval tile : t -> int -> tile

tile g idx is the tile of the picture cell idx, unchecked; it is meaningless for a cell that is not a picture cell.