Package: cairo

Function cairo-set-font-face

Lambda List

cairo-set-font-face (cr face)

Arguments

cr -- a cairo-t context
face -- a cairo-font-face-t instance, or nil to restore to the default font

Details

Replaces the current cairo-font-face-t instance in the Cairo context with face. The replaced font face in the Cairo context will be destroyed if there are no other references to it.
 

See also

2021-12-12