cairo_set_source_pixbuf


Description:


[ Version ( since = "2.8" ) ]
public void cairo_set_source_pixbuf (Context cr, Pixbuf pixbuf, double pixbuf_x, double pixbuf_y)

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

a cairo context

pixbuf

a Pixbuf

pixbuf_x

X coordinate of location to place upper left corner of pixbuf

pixbuf_y

Y coordinate of location to place upper left corner of pixbuf


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org