Package: cairo
Macro cairo:with-recording-surface
Lambda Listcairo:with-recording-surface ((surface content &rest args) &body body) SyntaxArgumentsDetails The cairo:with-recording-surface macro allocates a new cairo:surface-t instance and executes the body that uses the Cairo
surface.
After execution of the body the allocated memory for the Cairo surface is released. This macro calls the cairo:recording-surface-create function to create the surface. If the optional x, y, width, height arguments are given a bounded recording surface is
created, otherwise the recording surface is unbounded. For an unbounded recording surface the cairo:recording-surface-extents function returns a nil value. | See also |
2025-1-29