package brr

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

Text metrics.

type t

The type for TextMetrics objects.

val width : t -> float
val actual_bounding_box_left : t -> float
val actual_bounding_box_right : t -> float
val font_bounding_box_ascent : t -> float
val font_bounding_box_descent : t -> float
val actual_bounding_box_ascent : t -> float
val actual_bounding_box_descent : t -> float
val em_height_ascent : t -> float
val em_height_descent : t -> float
val hanging_baseline : t -> float
val alphabetic_baseline : t -> float
val ideographic_baseline : t -> float
OCaml

Innovation. Community. Security.