Method
Pango.LayoutLine.get_extents
Declaration [src]
void
pango_layout_line_get_extents (
PangoLayoutLine* line,
PangoRectangle* ink_rect,
PangoRectangle* logical_rect
)
Description [src]
Computes the logical and ink extents of a layout line. See
pango_font_get_glyph_extents()
for details about the
interpretation of the rectangles.
Parameters
ink_rect |
PangoRectangle |
rectangle used to store the extents of
the glyph string as drawn, or |
|
Direction: out | |
Ownership is not transferred to the callee | |
logical_rect |
PangoRectangle |
rectangle used to store the logical
extents of the glyph string, or |
|
Direction: out | |
Ownership is not transferred to the callee |