LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

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 GTK+ or 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.

Examples

There is an example in examples/capi/graphics/metafile.lisp .

See also

draw-metafile
free-metafile
with-external-metafile


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex