Function gtk::render_icon_surface[][src]

pub fn render_icon_surface<P: IsA<StyleContext>>(
    context: &P,
    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