Interface IGDIPlus.IGPMetafile
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: IGPImage
Contents |
Syntax
Delphi:
type IGPMetafile = interface( IGPImage )
Summary
Interface to a TGPMetafile object.
Description
Defines interface to a TGPMetafile object.
The TGPMetafile class defines a graphic metafile. A metafile contains records that describe a sequence of graphics API calls. Metafiles can be recorded (constructed) and played back (displayed). Remarks Some Metafile constructors (those that receive a device context handle) create Metafile objects that are used to record metafiles. Other Metafile constructors (those that do not receive a device context handle) create Metafile objects that are used to display (play back) metafiles.
Properties
- DownLevelRasterizationLimit - Gets or sets the resolution for certain brush bitmaps that are stored in this metafile.
- Header - Returns the the metafile header.
Methods
- function GetMetafileHeader() : IGPMetafileHeader - Returns the the metafile header.
- function GetHENHMETAFILE() : HENHMETAFILE - Returns a Windows handle to an Enhanced Metafile (EMF) file.
- function PlayRecord(recordType : TGPEmfPlusRecordType; flags : Cardinal; dataSize : Cardinal; data : PBYTE) : TGPMetafile - Plays a metafile record.
- function SetDownLevelRasterizationLimit(metafileRasterizationLimitDpi : Cardinal) : TGPMetafile - Sets the resolution for certain brush bitmaps that are stored in this metafile.
- procedure SetDownLevelRasterizationLimitProp(metafileRasterizationLimitDpi : Cardinal)
- function GetDownLevelRasterizationLimit() : Cardinal - Returns the rasterization limit currently set for the metafile.
- function EmfToWmfBits(hemf : HENHMETAFILE; cbData16 : Cardinal; pData16 : PBYTE; iMapMode : Integer; var eFlags : TGPEmfToWmfBitsFlags) : Cardinal - Converts an enhanced-format metafile to a Microsoft Windows Metafile Format (WMF) metafile and stores the converted records in a specified buffer.