| Import line: | Pango = imports.gi.Pango; |
| GIR File: | Pango-1.0.gir |
| C documentation: | Pango.Rectangle |
| Struct : | Rectangle |
| Properties | Defined By | |
|---|---|---|
|
height : gint32
|
Pango.Rectangle | |
|
width : gint32
|
Pango.Rectangle | |
|
x : gint32
|
Pango.Rectangle | |
|
y : gint32
|
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 |
|---|---|
|
Pango
Method |
Converts extents from Pango units to device units, dividing by the
PANGO_SCALE factor and performing rounding. |
|
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
(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 |
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 |
Gets the extents of the current cluster, in layout coordinates
(origin is the top left of the entire layout). |
|
Pango.LayoutIter
Method |
Obtains the extents of the PangoLayout being iterated
over. |
|
Pango.LayoutIter
Method |
Obtains the extents of the current line.
|
|
Pango.LayoutIter
Method |
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. |