Skip to main content

render_layout

Function render_layout 

Source
pub fn render_layout(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    x: f64,
    y: f64,
    layout: &Layout,
)
👎Deprecated:

Since 4.10

Expand description

Renders @layout on the coordinates @x, @y

§Deprecated since 4.10

§context

a StyleContext

§cr

a [cairo::Context][crate::cairo::Context]

§x

X origin

§y

Y origin

§layout

the [pango::Layout][crate::pango::Layout] to render