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

NextPrevUpTopContentsIndex

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 the 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 (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex