Package: gdk

Function gdk:cairo-set-source-pixbuf

Lambda List

gdk:cairo-set-source-pixbuf (cr pixbuf x y)

Arguments

cr -- a cairo:context-t instance
pixbuf -- a gdk-pixbuf:pixbuf object
x -- a number coerced to a double float with the x coordinate to place upper left corner of pixbuf
y -- a number coerced to a double float with the y coordinate to place upper left corner of pixbuf

Details

Sets the given pixbuf as the source pattern for cr. The pattern has a :none extend mode of the cairo:extend-t enumeration and is aligned so that the origin of the pixbuf is (x,y).
 

See also

#2024-7-16