Function
Gtkrender_icon_surface
since: 3.10
Declaration [src]
void
gtk_render_icon_surface (
GtkStyleContext* context,
cairo_t* cr,
cairo_surface_t* surface,
gdouble x,
gdouble y
)
Description [src]
Renders the icon in surface
at the specified x
and y
coordinates.
Available since: 3.10
Parameters
context
-
Type:
GtkStyleContext
A
GtkStyleContext
.The data is owned by the caller of the function. cr
-
Type:
cairo_t
A #cairo_t.
The data is owned by the caller of the function. surface
-
Type:
cairo_surface_t
A #cairo_surface_t containing the icon to draw.
The data is owned by the caller of the function. x
-
Type:
gdouble
X position for the
icon
. y
-
Type:
gdouble
Y position for the
incon
.