Function
Gdkcairo_surface_create_from_pixbuf
Declaration [src]
cairo_surface_t*
gdk_cairo_surface_create_from_pixbuf (
const GdkPixbuf* pixbuf,
int scale,
GdkWindow* for_window
)
Description [src]
Creates an image surface with the same contents as the pixbuf.
Available since: | 3.10 |
Return value
Returns: | cairo_surface_t |
A new cairo surface, must be freed with |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |