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

 Direction: out
 The data is owned by the caller of the function
logical_rect PangoRectangle
 

rectangle used to store the logical extents of the glyph string

 Direction: out
 The data is owned by the caller of the function