Package: cairo
Function cairo:device-finish
Lambda Listcairo:device-finish (device) ArgumentsDetails
This function finishes the device and drops all references to external
resources.
All surfaces, fonts and other objects created for this device will be
finished, too. Further operations on the device will not affect the device but will instead trigger a :device-finished error. When the last call to the cairo:device-destroy function decreases the reference count to zero, Cairo will call the cairo:device-finish function if it has not been called already, before freeing the resources associated with the device. This function may acquire devices. | See also |
2025-1-18