Function gtk4::source ·
pub fn render_icon( context: &impl IsA<StyleContext>, cr: &Context, texture: &impl IsA<Texture>, x: f64, y: f64 )
Renders the icon in @texture at the specified @x and @y coordinates.
This function will render the icon in @texture at exactly its size, regardless of scaling factors, which may not be appropriate when drawing on displays with high pixel densities.
Deprecated since 4.10
gdk::Texture containing the icon to draw
X position for the @texture
Y position for the @texture