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 context
pixbuf -- a gdk-pixbuf:pixbuf object
x -- a number coerced to a double float for the x coordinate of the location to place the upper left corner of pixbuf
y -- a number coerced to a double float for the y coordinate of the location to place the 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

#2025-1-25