setSourcePixbuf

Sets the given pixbuf as the source pattern for @cr.

The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned so that the origin of @pixbuf is @pixbuf_x, @pixbuf_y.

void
setSourcePixbuf

Parameters

cr Context

a cairo context

pixbuf Pixbuf

a #GdkPixbuf

pixbufX double

X coordinate of location to place upper left corner of @pixbuf

pixbufY double

Y coordinate of location to place upper left corner of @pixbuf

Meta