Function
Gdk.cairo_set_source_pixbuf
Declaration [src]
void
gdk_cairo_set_source_pixbuf (
cairo_t* cr,
const GdkPixbuf* pixbuf,
double pixbuf_x,
double pixbuf_y
)
Description [src]
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 |
cairo_t* |
a cairo context |
|
| Ownership is not transferred to the callee | |
pixbuf |
const GdkPixbuf* |
a |
|
| Ownership is not transferred to the callee | |
pixbuf_x |
double |
X coordinate of location to place upper left corner of |
|
pixbuf_y |
double |
Y coordinate of location to place upper left corner of |