Function
Gtkrender_icon
deprecated: 4.10
Declaration [src]
void
gtk_render_icon (
GtkStyleContext* context,
cairo_t* cr,
GdkTexture* texture,
double x,
double y
)
Description [src]
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
Please do not use it in newly written code.
Parameters
context-
Type:
GtkStyleContextA
GtkStyleContextThe data is owned by the caller of the function. cr-
Type:
cairo_tA
cairo_tThe data is owned by the caller of the function. texture-
Type:
GdkTextureA
GdkTexturecontaining the icon to draw.The data is owned by the caller of the function. x-
Type:
doubleX position for the
texture. y-
Type:
doubleY position for the
texture.