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
  Show / Hide Inherited methods, properties and signals
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
GooCanvas.CanvasText
Method
get_natural_extents (Rectangle ink_rect, Rectangle logical_rect) : none
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.AttrShape
Method
new Pango.AttrShape.c_new (Rectangle ink_rect, Rectangle logical_rect) : Pango.AttrShape
Create a new Pango.AttrShape
Pango.AttrShape
Method
new Pango.AttrShape.with_data (Rectangle ink_rect, Rectangle logical_rect, void* data, Function copy_func, Function destroy_func) : Pango.AttrShape
Create a new Pango.AttrShape
Pango.Font
Method
get_glyph_extents (Number 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 (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.Layout
Method
index_to_pos (Number index_, Rectangle pos) : none
Converts from an index within a PangoLayout to the onscreen position corresponding to the grapheme at that index, which is represented as rectangle.
Pango.Layout
Method
get_cursor_pos (Number index_, Rectangle strong_pos, Rectangle weak_pos) : none
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 (Rectangle ink_rect, Rectangle logical_rect) : none
Computes the logical and ink extents of layout.
Pango.Layout
Method
get_pixel_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Computes the logical and ink extents of layout in device units.
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_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.LayoutIter
Method
get_line_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Obtains the extents of the current line.
Pango.LayoutIter
Method
get_layout_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Obtains the extents of the PangoLayout being iterated over.
Pango.LayoutLine
Method
get_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Computes the logical and ink extents of a layout line.
Pango.LayoutLine
Method
get_pixel_extents (Rectangle ink_rect, Rectangle logical_rect) : none
Computes the logical and ink extents of layout_line in device units.
Pango.Matrix
Method
transform_rectangle (Rectangle rect) : none
First transforms rect using matrix, then calculates the bounding box of the transformed rectangle.
Pango.Matrix
Method
transform_pixel_rectangle (Rectangle rect) : none
First transforms the rect using matrix, then calculates the bounding box of the transformed rectangle.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:54 GMT+0800 (HKT)