Package: cairo
Function cairo-get-font-face
Lambda Listcairo-get-font-face (cr) ArgumentsReturn Value
The current font face. This object is owned by Cairo. To keep a reference to it, you must call the cairo-font-face-reference function. This
function never returns NULL. If memory cannot be allocated, a special "nil" cairo-font-face-t instance will be returned on which the cairo-font-face-status function returns :no-memory. Using this
nil instance will cause its error state to propagate to other objects it is passed to, for example, calling the cairo-set-font-face function with
a nil font will trigger an error that will shutdown the Cairo context. Details
Gets the current font face for a Cairo context. | See also |
2021-12-12