Package: cairo
Macro cairo:with-context-for-pdf-surface
Lambda Listcairo:with-context-for-pdf-surface ((context path width height) &body body) SyntaxArgumentsDetails The cairo:with-context-for-pdf-surface macro allocates a new cairo:context-t instance for a PDF surface, initializes the Cairo context with the path, width, and height values
and executes the body that uses the Cairo context.
After execution of the body the allocated memory for the Cairo context is released. See the documentation of the cairo:pdf-surface-create and cairo:create functions for more information about the initialization of
the new Cairo context. | See also |
2025-1-13