Prev Next
The EMRPLGBLT structure contains members for the PlgBlt
enhanced metafile record. Note that graphics device interface (GDI) converts
the device-dependent bitmap into a device-independent bitmap (DIB) before
storing it in the metafile record.
typedef struct tagEMRPLGBLT
{
EMR emr;
RECTL rclBounds;
POINTL aptlDest[3];
LONG xSrc;
LONG ySrc;
LONG cxSrc;
LONG cySrc;
XFORM xformSrc;
COLORREF crBkColorSrc;
DWORD iUsageSrc;
DWORD offBmiSrc;
DWORD cbBmiSrc;
DWORD offBitsSrc;
DWORD cbBitsSrc;
LONG xMask;
LONG yMask;
DWORD iUsageMask;
DWORD offBmiMask;
DWORD cbBmiMask;
DWORD offBitsMask;
DWORD cbBitsMask;
} EMRPLGBLT, *PEMRPLGBLT;
Members
-
emr
-
Base structure for all record types.
-
rclBounds
-
Bounding rectangle, in device units.
-
aptlDest
-
Array of three points in logical space that identify three corners of the
destination parallelogram. The upper-left corner of the source rectangle is
mapped to the first point in this array, the upper-right corner to the second
point in this array, and the lower-left corner to the third point. The
lower-right corner of the source rectangle is mapped to the implicit fourth
point in the parallelogram.
-
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.
-
cxSrc
-
Logical width of source
-
cySrc
-
Logical height of source
-
xformSrc
-
World-space to page-space transformation of the source device context.
-
crBkColorSrc
-
Background color (the RGB value) of the source device context.
-
iUsageSrc
-
Value of the bmiColors member of the BITMAPINFO
structure. The iUsageSrc member can be either the DIB_PAL_COLORS,
DIB_PAL_INDICES, or DIB_RGB_COLORS value.
-
offBmiSrc
-
Offset to source BITMAPINFO structure.
-
cbBmiSrc
-
Size of source BITMAPINFO structure.
-
offBitsSrc
-
Offset to source bitmap bits.
-
cbBitsSrc
-
Size of source bitmap bits.
-
xMask
-
Horizontal pixel offset into mask bitmap.
-
yMask
-
Vertical pixel offset into mask bitmap.
-
iUsageMask
-
Value of the bmiColors member of the mask BITMAPINFO
structure.
-
offBmiMask
-
Offset to mask BITMAPINFO structure.
-
cbBmiMask
-
Size of mask BITMAPINFO structure.
-
offBitsMask
-
Offset to mask bitmap bits.
-
cbBitsMask
-
Size of mask bitmap bits.
See Also
BITMAPINFO, PlgBlt,
RGB
file: /Techref/os/win/api/win32/struc/src/str05_16.htm, 4KB, , updated: 2000/4/7 12:20, local time: 2024/9/2 02:22,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/api/win32/struc/src/str05_16.htm"> EMRPLGBLT</A> |
Did you find what you needed?
|
.