cairoSetSourcePixbuf

Sets the given pixbuf as the source pattern for cr.

The pattern has an extend mode of cairo.types.Extend.None and is aligned so that the origin of pixbuf is pixbuf_x, pixbuf_y.

void
cairoSetSourcePixbuf

Parameters

cr cairo.context.Context

a cairo context

pixbuf gdkpixbuf.pixbuf.Pixbuf
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