package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Operations on bitmap fonts.

type t

A font.

val native : t

Our native font.

val height : t -> int

Height in pixels of characters.

val render : ?font:t -> ?size:int -> string -> bitmap

Render text with given font, at given size (height of characters in pixels).