class Pango::FontMetrics
- Pango::FontMetrics
- Reference
- Object
Overview
A Pango::FontMetrics
structure holds the overall metric information
for a font.
The information in a Pango::FontMetrics
structure may be restricted
to a script. The fields of this structure are private to implementations
of a font backend. See the documentation of the corresponding getters
for documentation of their meaning.
For an overview of the most important metrics, see:
Defined in:
lib/gi-crystal/src/auto/pango-1.0/font_metrics.crlib/gtk4/src/bindings/pango/font_metrics.cr
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #approximate_char_width : Int32
- #approximate_char_width=(value : Int32)
- #approximate_digit_width : Int32
- #approximate_digit_width=(value : Int32)
- #ascent : Int32
- #ascent=(value : Int32)
- #descent : Int32
- #descent=(value : Int32)
- #height : Int32
- #height=(value : Int32)
- #ref_count : UInt32
- #ref_count=(value : UInt32)
- #strikethrough_position : Int32
- #strikethrough_position=(value : Int32)
- #strikethrough_thickness : Int32
- #strikethrough_thickness=(value : Int32)
- #to_unsafe : Pointer(Void)
- #underline_position : Int32
- #underline_position=(value : Int32)
- #underline_thickness : Int32
- #underline_thickness=(value : Int32)