NextPrevUpTopContentsIndex

with-internal-metafile

Macro
Summary

Creates a metafile in memory using Graphics Ports operations.

Package

capi

Signature

with-internal-metafile ( var &key pane bounds
format ) &body body => metafile

Description

The macro with-internal-metafile creates a metafile containing records corresponding to the Graphics Ports operations in body that draw to var .

On Microsoft Windows the metafile is a device-independent format for storing pictures. For more information about metafiles, see the Microsoft documentation.

On Cocoa the metafile format is PDF as a single page.

with-internal-metafile is not implemented on X11/Motif.

with-internal-metafile behaves like with-external-metafile except that an object representing the metafile is returned, and no file is created on disk.

metafile must be freed after use, by calling free-metafile.

See also

draw-metafile
free-metafile
with-external-metafile


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex