EMRALPHABLEND
[This is preliminary documentation and subject to change.]
The EMRALPHABLEND structure contains members for the AlphaBlend enhanced metafile record.
typedef struct tagEMRALPHABLEND
{
EMR emr;
RECTL rclBounds;
LONG xDest;
LONG yDest;
LONG cxDest;
LONG cyDest;
DWORD dwRop;
LONG xSrc;
LONG ySrc;
XFORM xformSrc;
COLORREF crBkColorSrc;
DWORD iUsageSrc;
DWORD offBmiSrc;
DWORD cbBmiSrc;
DWORD offBitsSrc;
DWORD cbBitsSrc;
LONG cxSrc;
LONG cySrc;
} EMRALPHABLEND, *PEMRALPHABLEND;
Members
-
emr
-
Base structure for all record types.
-
rclbounds
-
Bounding rectangle, in device units.
-
xDest
-
Specifies the x coordinate, in logical units, of the upper-left corner of the destination rectangle.
-
yDest
-
Specifies the y coordinate, in logical units, of the upper-left corner of the destination rectangle.
-
cxDest
-
Logical width of the destination rectangle.
-
cyDest
-
Logical height of the destination rectangle.
-
dwRop
-
Stores the BLENDFUNCTION structure.
-
xSrc
-
Logical x coordinate of the upper-left corner of the source rectangle.
-
ySrc
-
Logical y coordinate of the upper-left corner of the source rectangle.
-
xformSrc
-
World-space to page-space transformation of the source device context.
-
crBkColorSrc
-
Background color (the RGB value) of the source device context.
-
iUsageSrc
-
Source bitmap information color table usage (DIB_RGB_COLORS).
-
offBmiSrc
-
Offset to the source BITMAPINFO structure.
-
cbBmiSrc
-
Size of the source BITMAPINFO structure.
-
offBitsSrc
-
Offset to the source bitmap bits.
-
cbBitsSrc
-
Size of the source bitmap bits.
-
cxSrc
-
Width of source rectangle.
-
cySrc
-
Height of the source rectangle.
Remarks
This structure is to be used during metafile playback.
QuickInfo
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
See Also
Metafiles Overview, Enhanced Metafile Structures, Metafiles, BITMAPINFO, AlphaBlend