Package: cairo

Function cairo:paint

Lambda List

cairo:paint (cr)

Arguments

cr -- a cairo:context-t instance

Details

A drawing operator that paints the current source everywhere within the current clip region.

Examples

Code fragment to paint the background with a given color.
;; Paint the white color on the background
(cairo:set-source-rgb cr 1.0 1.0 1.0)
(cairo:paint cr)    
 

See also

2025-1-2