Function Device.finish
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 CAIRO_STATUS_DEVICE_FINISHED exception.
When the reference count reaches zero, cairo will call finish
()
if it hasn't been called already, before freeing the resources
associated with the device.
This function may acquire
devices.
Prototype
void finish();
BUGS
How does "All surfaces, fonts and other objects created for this device will be finished" interact with the cairoD?
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |