cairo_surface_create_from_pixbuf


Description:

[ CCode ( cname = "gimp_cairo_surface_create_from_pixbuf" ) ]
[ Version ( since = "2.6" ) ]
public Surface cairo_surface_create_from_pixbuf (Pixbuf pixbuf)

Create a Cairo image surface from a GdkPixbuf.

You should avoid calling this function as there are probably more efficient ways of achieving the result you are looking for.

Parameters:

pixbuf

a Pixbuf

Returns:

a XlibSurface.


Namespace: GimpUi
Package: gimp-ui-3.0