Function

Gtkrender_icon_surface

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 GtkStyleContext
 

A GtkStyleContext.

 The data is owned by the caller of the function.
cr cairo_t
 

A #cairo_t.

 The data is owned by the caller of the function.
surface cairo_surface_t
 

A #cairo_surface_t containing the icon to draw.

 The data is owned by the caller of the function.
x gdouble
 

X position for the icon.

y gdouble
 

Y position for the incon.