cairoSetSourcePixbuf

fnvoid cairoSetSourcePixbuf(cairo.context.Context cr, gdkpixbuf.pixbuf.Pixbuf pixbuf, double pixbufX, double pixbufY)

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.

Parameters

cra cairo context
pixbufa #GdkPixbuf
pixbufXX coordinate of location to place upper left corner of pixbuf
pixbufYY coordinate of location to place upper left corner of pixbuf