Package: gtk

Function gtk:render-icon-surface

Lambda List

gtk:render-icon-surface (context cr surface x y)

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
surface -- a cairo:surface-t instance containing the icon to draw
x -- a number, coerced to a double float, with a x position for the icon
y -- a number, coerced to a double float, with a y position for the icon

Details

Renders the icon in the Cairo surface at the specified x and y coordinates.
 

See also

#2023-3-27