Method

Pango.Renderer.get_layout_line

Declaration [src]

PangoLayoutLine*
pango_renderer_get_layout_line (
  PangoRenderer* renderer
)

Description [src]

Gets the layout line currently being rendered using renderer.

Calling this function only makes sense from inside a subclass’s methods, like in its draw_shape vfunc, for example.

The returned layout line should not be modified while still being rendered.

Available since:1.20

Return value

Returns: PangoLayoutLine

the layout line, or NULL if no layout line is being rendered using renderer at this time.

The data is owned by the called function
Can be NULL