package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.pangocairo/Ocgtk_pangocairo/PangoCairo/Wrappers/Font/index.html

Module Wrappers.Font

type t = [ `font ] Gobject.obj
val from_gobject : 'a Gobject.obj -> t
val get_scaled_font : t -> Ocgtk_cairo.Cairo.Wrappers.Scaled_font.t option

Gets the `cairo_scaled_font_t` used by @font. The scaled font can be referenced and kept using cairo_scaled_font_reference().