package lablgtk3

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

Module Pango.FontSource

Sourceval from_string : string -> font_description
Sourceval to_string : font_description -> string
Sourceval set_family : font_description -> string -> unit
Sourceval get_family : font_description -> string
Sourceval set_style : font_description -> Tags.style -> unit
Sourceval set_variant : font_description -> Tags.variant -> unit
Sourceval set_weight : font_description -> Tags.weight -> unit
Sourceval get_weight : font_description -> int
Sourceval set_stretch : font_description -> Tags.stretch -> unit
Sourceval set_size : font_description -> int -> unit
Sourceval get_size : font_description -> int
Sourceval set_absolute_size : font_description -> float -> unit
Sourceval get_size_is_absolute : font_description -> bool
Sourceval modify : font_description -> ?family:string -> ?style:Tags.style -> ?variant:Tags.variant -> ?weight:Tags.weight -> ?stretch:Tags.stretch -> ?size:int -> ?absolute_size:float -> unit -> unit
Sourceval get_metrics : font -> language -> font_metrics
Sourceval get_ascent : font_metrics -> units
Sourceval get_descent : font_metrics -> units
Sourceval get_approximate_char_width : font_metrics -> units
Sourceval get_approximate_digit_width : font_metrics -> units
OCaml

Innovation. Community. Security.