Back to Seed Clases

Pango


Classes

Interfaces

Structs

Unions

Enums

Struct Pango.Rectangle

Import line: Pango = imports.gi.Pango;
GIR File: Pango-1.0.gir
C documentation: Pango.Rectangle
Struct : Rectangle
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Pango.Rectangle ()
Create a new Pango.Rectangle
Create a new Pango.Rectangle
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Pango
Method
Pango.extents_to_pixels (Rectangle inclusive, Rectangle nearest) : none
Converts extents from Pango units to device units, dividing by the
PANGO_SCALE factor and performing rounding.
Pango.Font
Method
get_glyph_extents (guint32 glyph, Rectangle ink_rect, Rectangle logical_rect) : none
Gets the logical and ink extents of a glyph within a font.
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 (gint32 start, gint32 end, Font font, Rectangle ink_rect, Rectangle logical_rect) : none
or NULL to indicate that the result is not needed.
Pango.Layout
Method
get_cursor_pos (gint32 index_) : Object
Given an index within a layout, determines the positions that of the
strong and weak cursors if the insertion point is at that
index.
Pango.Layout
Method
get_extents () : Object
Computes the logical and ink extents of layout.
Pango.Layout
Method
get_pixel_extents () : Object
Computes the logical and ink extents of layout in device units.
Pango.Layout
Method
index_to_pos (gint32 index_) : Pango.Rectangle
Converts from an index within a PangoLayout to the onscreen position
corresponding to the grapheme at that index, which is represented
as rectangle.
Pango.LayoutIter
Method
get_char_extents (Rectangle logical_rect) : none
Gets the extents of the current character, in layout coordinates
(origin is the top left of the entire layout).
Pango.LayoutIter
Method
get_cluster_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Gets the extents of the current cluster, in layout coordinates
(origin is the top left of the entire layout).
Pango.LayoutIter
Method
get_layout_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Obtains the extents of the PangoLayout being iterated
over.
Pango.LayoutIter
Method
get_line_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Obtains the extents of the current line.
Pango.LayoutIter
Method
get_run_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Gets the extents of the current run in layout coordinates
(origin is the top left of the entire layout).
Pango.LayoutLine
Method
get_extents () : Object
Computes the logical and ink extents of a layout line.
Pango.LayoutLine
Method
get_pixel_extents () : Object
Computes the logical and ink extents of layout_line in device units.
Pango.Matrix
Method
transform_pixel_rectangle (Rectangle rect) : none
First transforms the rect using matrix, then calculates the bounding box
of the transformed rectangle.
Pango.Matrix
Method
transform_rectangle (Rectangle rect) : none
First transforms rect using matrix, then calculates the bounding box
of the transformed rectangle.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:40 GMT+0800 (HKT)