cairoSetSourcePixbuf
fn
void 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
cr | a cairo context |
pixbuf | a [gdkpixbuf.pixbuf.Pixbuf] |
pixbufX | X coordinate of location to place upper left corner of pixbuf |
pixbufY | Y coordinate of location to place upper left corner of pixbuf |