Function gtk4::functions::render_layout[][src]

pub fn render_layout<P: IsA<StyleContext>>(
    context: &P,
    cr: &Context,
    x: f64,
    y: f64,
    layout: &Layout
)
Expand description

Renders layout on the coordinates x, y

context

a StyleContext

cr

a cairo_t

x

X origin

y

Y origin

layout

the pango::Layout to render