GObject.Object
Pango.Font
PangoXft.Font
Import line: | PangoXft = imports.gi.PangoXft; |
GIR File: | PangoXft-1.0.gir |
C documentation: | PangoXftFont |
Class : | Font |
Extends: | Pango.Font |
None |
Method / Constructor | Defined By | |
---|---|---|
new PangoXft.Font
()
Create a new PangoXft.Font
Create a new PangoXft.Font
|
||
describe
()
:
Pango.FontDescription
Returns a description of the font, with font size set in points.
Returns a description of the font, with font size set in points.
Use pango_font_describe_with_absolute_size() if you want the font size in device units.
|
Pango.Font | |
describe_with_absolute_size
()
:
Pango.FontDescription
Returns a description of the font, with absolute font size set
(in device units).
Returns a description of the font, with absolute font size set
(in device units). Use pango_font_describe() if you want the font size in points.
|
Pango.Font | |
Gets the logical and ink extents of a glyph within a font.
Gets the logical and ink extents of a glyph within a font. The
coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The macros PANGO_ASCENT(), PANGO_DESCENT(), PANGO_LBEARING(), and PANGO_RBEARING() can be used to convert from the extents rectangle to more traditional font metrics. The units of the rectangles are in 1/PANGO_SCALE of a device unit. If font is NULL, this function gracefully sets some sane values in the output variables and returns.
|
Pango.Font | |
get_metrics
(Language language)
:
Pango.FontMetrics
Gets overall metric information for a font.
Gets overall metric information for a font. Since the metrics may be
substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. If font is NULL, this function gracefully sets some sane values in the output variables and returns. when finished using the object.
|
Pango.Font |
None |