Package: cairo

Function cairo-paint

Lambda List

cairo-paint (cr)

Arguments

cr -- a cairo-t context

Details

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

Example

Code fragement to paint the background of a widget in a "draw" handler with a given color.
;; Paint the current color on the drawing area
(cairo-set-source-rgb cr red green blue)
(cairo-paint cr)    
 

See also

*2021-12-12