9#if !defined(OWL_METAFILE_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
43#if !defined(METAFILEHEADER)
90 operator HMETAFILE()
const;
102 uint mapMode = MM_ANISOTROPIC,
135 static const uint32 MFHeaderKey;
157 operator HENHMETAFILE()
const;
196inline TMetaFilePict::operator HMETAFILE()
const {
227 MFHeader.key = MFHeaderKey;
229 MFHeader.bbox.left =
static_cast<int16>(bounds.left);
230 MFHeader.bbox.top =
static_cast<int16>(bounds.top);
231 MFHeader.bbox.right =
static_cast<int16>(bounds.right);
232 MFHeader.bbox.bottom =
static_cast<int16>(bounds.bottom);
233 MFHeader.inch = unitsPerInch;
234 MFHeader.reserved = 0;
284inline TEnhMetaFilePict::operator HENHMETAFILE()
const {
285 return HENHMETAFILE(
Handle);
292 return ::GetEnhMetaFileBits(*
this, bytes,
static_cast<LPBYTE
>(buffer));
299 return ::GetEnhMetaFileDescription(*
this, bytes,
static_cast<LPTSTR
>(buffer));
306 return ::GetEnhMetaFileHeader(*
this, bytes, record);
313 return ::GetEnhMetaFilePaletteEntries(*
this, count, entries);
The clipboard class encapsulates the methods for the clipboard object of Windows.
TDC is the root class for GDI DC wrappers.
TGdiBase()
This default constructor sets Handle to 0 and ShouldDelete to true.
HANDLE Handle
GDI handle of this object.
TRect is a mathematical class derived from tagRect.
The tagSIZE struct is defined as.
Definition of base most abstract GDI object class, and associated exception class.
TAutoDelete
Flag for Handle ctors to control Handle deletion in dtor.
Object Windows Library (OWLNext Core).
owl::opstream & operator<<(owl::opstream &os, const TColor &c)
Insert the color value into a persistent output stream.
WORD checksum
XOR of previous fields.
RECT16 bbox
bounding rectangle
WORD hmf
hmf is defined as HANDLE, but in Win16 that's an unsigned int
DWORD key
identifies file type
Classes for window system structure and type encapsulation.