Method

PangoRendererget_layout_line

since: 1.20

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

Type: PangoLayoutLine

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

The returned data is owned by the instance.
The return value can be NULL.