cairoSetSourcePixbuf

fun cairoSetSourcePixbuf(    cr: <Error class: unknown class>,     pixbuf: <Error class: unknown class>,     pixbufX: <Error class: unknown class>,     pixbufY: <Error class: unknown class>)(source)

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.

Parameters

cr

a cairo context

pixbuf

a GdkPixbuf

pixbufX

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

pixbufY

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