Package: cairo
Macro cairo:with-surface
Lambda Listcairo:with-surface ((surface &rest args) &body body) SyntaxArgumentsDetails The cairo:with-surface macro allocates a new cairo:surface-t
instance, initializes the Cairo surface with the given values and executes
the body that uses the Cairo surface.
After execution of the body the allocated memory for the Cairo surface is released. See the documentation of the cairo:surface-create-similar, cairo:surface-create-similar-image and cairo:surface-create-for-rectangle functions for more information about
the initialization of the new Cairo surface. | See also |
2025-1-18