please dont rip this site Prev Next

EMRMASKBLT info  Overview  Group

The EMRMASKBLT structure contains members for the MaskBlt 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 tagEMRMASKBLT
{
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 xMask;     LONG yMask;     DWORD iUsageMask;     DWORD offBmiMask;     DWORD cbBmiMask;     DWORD offBitsMask;     DWORD cbBitsMask; } EMRMASKBLT, *PEMRMASKBLT;  

Members

emr
Base structure for all record types.
rclBounds
Bounding rectangle, in device units.
xDest
Logical x-coordinate of the upper-left corner of the destination rectangle.
yDest
Logical y-coordinate of the upper-left corner of the destination rectangle.
cxDest
Logical width of destination rectangle
cyDest
Logical height of destination rectangle
dwRop
Raster-operation code. These codes define how the color data of the source rectangle is to be combined with the color data of the destination rectangle to achieve the final color.
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
Value of the bmiColors member of the source 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, MaskBlt, RGB 


file: /Techref/os/win/api/win32/struc/src/str05_13.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/4 11:11,
TOP NEW HELP FIND: 
18.118.184.102:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str05_13.htm"> EMRMASKBLT</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .