[ CCode ( cname = "gtk_render_icon" ) ]
public void render_icon (Context cr, Texture texture, double x, double y)
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.
cr |
a `cairo_t` |
texture |
a `GdkTexture` containing the icon to draw |
x |
X position for the |
y |
Y position for the |
context |
a `GtkStyleContext` |