Context.setSourcePixbuf

Sets the given pixbuf as the source pattern for the Cairo context. The pattern has an extend mode of CAIRO_EXTEND_NONE and is aligned so that the origin of pixbuf is pixbufX, pixbufY Since 2.8

class Context
void
setSourcePixbuf
(,
double pixbufX
,
double pixbufY
)

Parameters

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