pub fn render_icon_surface(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    surface: &Surface,
    x: f64,
    y: f64
)
Expand description

Renders the icon in surface at the specified x and y coordinates.

context

a StyleContext

cr

a cairo::Context

surface

a cairo::Surface containing the icon to draw

x

X position for the icon

y

Y position for the incon