Win32Forth


gdiMetafileDC -- Metafile device context class


Version 1.0

This GDI class library was written and placed in the Public Domain in 2005 by Dirk Busch

Glossary

:class gdiMetafileDC <super gdiDC

Metafile device context class

:M SetRect:     ( left top right bottom -- )

Specify the dimensions (in .01-millimeter units) of the picture to be stored in the enhanced metafile.

:M CalcMetaRect: { left top right bottom hDC \ iWidthMM iHeightMM iWidthPels iHeightPels -- }

Calc the dimensions (in .01-millimeter units) of the picture to be stored in the enhanced metafile.

:M StartRecording: ( hRefDC -- f )

Start recording of a Metafile

:M StopRecording:  ( -- f )

Stop recording of a Metafile

:M Load:        ( addr len -- f )

Load a metafile from a file

:M Save:        ( addr len -- f )

Save the metafile in a file

:M Destroy:     ( -- )

Destroy the metafile.

:M Draw:        ( left top right bottom hDestDC -- )

Play the metafile in a rectangle

:M GetMetafile: ( -- MetafileObject )

Return the address of the metafile object used by this class

;class

End of gdiMetafileDC class


Document $Id: gdiMetafileDC.htm,v 1.12 2007/05/26 10:24:13 dbu_de Exp $