Function
Lasemcairo_set_source_pixbuf
since: 0.4
Declaration [src]
void
lsm_cairo_set_source_pixbuf (
cairo_t* cairo,
const GdkPixbuf* pixbuf,
double pixbuf_x,
double pixbuf_y
)
Description [src]
Sets the given pixbuf as the source pattern for cairo.
The pattern has an extend mode of CAIRO_EXTEND_NONE and is aligned
so that the origin of pixbuf is pixbuf_x, pixbuf_y.
Available since: 0.4
Parameters
cairo-
Type:
cairo_tA cairo context.
The data is owned by the caller of the function. pixbuf-
Type:
GdkPixbufA
GdkPixbuf.The data is owned by the caller of the function. pixbuf_x-
Type:
doubleX coordinate of location to place upper left corner of
pixbuf. pixbuf_y-
Type:
doubleY coordinate of location to place upper left corner of
pixbuf.