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 | Defined By | |
---|---|---|
height : Number
|
Pango.Rectangle | |
width : Number
|
Pango.Rectangle | |
x : Number
|
Pango.Rectangle | |
y : Number
|
Pango.Rectangle |
Method / Constructor | Defined By | |
---|---|---|
new Pango.Rectangle
()
Create a new Pango.Rectangle
Create a new Pango.Rectangle
|
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GooCanvas.CanvasText
Method |
|
Pango
Method |
Converts extents from Pango units to device units, dividing by the PANGO_SCALE factor and performing rounding.
|
Pango.AttrShape
Method |
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 |
Gets the logical and ink extents of a glyph within a font.
|
Pango.GlyphString
Method |
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 |
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 |
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 |
Computes the logical and ink extents of layout.
|
Pango.Layout
Method |
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 |
Gets the extents of the current cluster, in layout coordinates (origin is the top left of the entire layout).
|
Pango.LayoutIter
Method |
Gets the extents of the current run in layout coordinates (origin is the top left of the entire layout).
|
Pango.LayoutIter
Method |
Obtains the extents of the current line.
|
Pango.LayoutIter
Method |
Obtains the extents of the PangoLayout being iterated over.
|
Pango.LayoutLine
Method |
Computes the logical and ink extents of a layout line.
|
Pango.LayoutLine
Method |
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.
|