Back to Seed Clases

Pango


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Pango.Font

Class Pango.Font

Import line: Pango = imports.gi.Pango;
GIR File: Pango-1.0.gir
C documentation: Pango.Font
Class : Font
Extends: GObject.Object
  Show / Hide Inherited methods, properties and signals
Properties
None
Methods / Constructors
Method / Constructor Defined By
 
new Pango.Font ()
Create a new Pango.Font
Create a new Pango.Font
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk
Method
Gdk.draw_glyphs (Drawable drawable, GC gc, Font font, Number x, Number y, GlyphString glyphs) : none
This is a low-level function; 99% of text rendering should be done using gdk_draw_layout() instead.
Gdk
Method
Gdk.draw_glyphs_transformed (Drawable drawable, GC gc, Matrix matrix, Font font, Number x, Number y, GlyphString glyphs) : none
Renders a PangoGlyphString onto a drawable, possibly transforming the layed-out coordinates through a transformation matrix.
Pango.Context
Method
load_font (FontDescription desc) : Pango.Font
Loads the font in one of the fontmaps in the context that is the closest match for desc.
Pango.FontMap
Method
load_font (Context context, FontDescription desc) : Pango.Font
Load the font in the fontmap that is the closest match for desc.
Pango.Fontset
Method
get_font (Number wc) : Pango.Font
Returns the font in the fontset that contains the best glyph for the Unicode character wc.
Pango.GlyphString
Method
extents (Font font, Rectangle ink_rect, Rectangle logical_rect) : none
Compute the logical and ink extents of a glyph string.
Pango.GlyphString
Method
extents_range (Number start, Number end, Font font, Rectangle ink_rect, Rectangle logical_rect) : none
Computes the extents of a sub-portion of a glyph string.
Pango.Renderer
Method
draw_glyphs (Font font, GlyphString glyphs, Number x, Number y) : none
Draws the glyphs in glyphs with the specified PangoRenderer.
Pango.Renderer
Method
draw_glyph (Font font, Number glyph, Number x, Number y) : none
Draws a single glyph with coordinates in device space.
PangoCairo
Method
PangoCairo.glyph_string_path (Context cr, Font font, GlyphString glyphs) : none
PangoCairo
Method
PangoCairo.show_glyph_string (Context cr, Font font, GlyphString glyphs) : none
Draws the glyphs in glyphs in the specified cairo context.
PangoFT2
Method
PangoFT2.font_get_coverage (Font font, Language language) : Pango.Coverage
Gets the PangoCoverage for a PangoFT2Font.
PangoFT2
Method
PangoFT2.font_get_face (Font font) : freetype2.Face
Returns the native FreeType2 FT_Face structure used for this PangoFont.
PangoFT2
Method
PangoFT2.font_get_kerning (Font font, Number left, Number right) : Number
Retrieves kerning information for a combination of two glyphs.
PangoFT2
Method
PangoFT2.get_unknown_glyph (Font font) : Number
Return the index of a glyph suitable for drawing unknown characters with If you want to draw an unknown-box for a character that is not covered by the font, use PANGO_GET_UNKNOWN_GLYPH() instead.
PangoFT2
Method
PangoFT2.render (Bitmap bitmap, Font font, GlyphString glyphs, Number x, Number y) : none
PangoFT2
Method
PangoFT2.render_transformed (Bitmap bitmap, Matrix matrix, Font font, GlyphString glyphs, Number x, Number y) : none
PangoX
Method
PangoX.apply_ligatures (Font font, Number subfont, Number glyphs, Object out_values) : Boolean
PangoX
Method
PangoX.fallback_shape (Font font, GlyphString glyphs, String text, Number n_chars) : none
PangoX
Method
PangoX.find_first_subfont (Font font, Array charsets, Number n_charsets, Number rfont) : Boolean
PangoX
Method
PangoX.font_subfont_xlfd (Font font, Number subfont_id) : String
PangoX
Method
PangoX.get_unknown_glyph (Font font) : Number
PangoX
Method
PangoX.has_glyph (Font font, Number glyph) : Boolean
PangoX
Method
PangoX.list_subfonts (Font font, Array charsets, Number n_charsets, Number subfont_ids, Object out_values) : Number
PangoX
Method
PangoX.load_font (Display display, String spec) : Pango.Font
PangoX
Method
PangoX.render (Display display, Drawable d, GC gc, Font font, GlyphString glyphs, Number x, Number y) : none
PangoXft
Method
PangoXft.picture_render (Display display, Picture src_picture, Picture dest_picture, Font font, GlyphString glyphs, Number x, Number y) : none
Renders a PangoGlyphString onto an Xrender Picture object.
PangoXft
Method
PangoXft.render (Draw draw, Color color, Font font, GlyphString glyphs, Number x, Number y) : none
Renders a PangoGlyphString onto an XftDraw object wrapping an X drawable.
PangoXft
Method
PangoXft.render_transformed (Draw draw, Color color, Matrix matrix, Font font, GlyphString glyphs, Number x, Number y) : none
Renders a PangoGlyphString onto a XftDraw, possibly transforming the layed-out coordinates through a transformation matrix.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:52 GMT+0800 (HKT)