All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

free-metafile Function

Summary

Frees a metafile.

Package

capi

Signature

free-metafile metafile

Arguments
metafile
A metafile.
Description

The function free-metafile releases the window system storage used by metafile.

free-metafile must be called when the metafile is no longer needed, to avoid memory leaks.

free-metafile is supported on GTK+ only where Cairo is supported (GTK+ 2.8 and later).

Notes

free-metafile is not implemented on X11/Motif.

Examples
(example-edit-file "capi/graphics/metafile")
See also

clipboard
draw-metafile
draw-metafile-to-image


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27