render_layout


Description:

public void render_layout (StyleContext context, double x, double y, Layout layout)

Creates a render node for rendering layout according to the style information in context, and appends it to the current node of this, without changing the current node.

Parameters:

this

a `GtkSnapshot`

context

the style context that defines the text

x

X origin of the rectangle

y

Y origin of the rectangle

layout

the `PangoLayout` to render




2022 vala-language.org