Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EMRTRANSPARENTBLT structure (wingdi.h)

The EMRTRANSPARENTBLT structure contains members for the TransparentBLT enhanced metafile record.

Syntax

typedef struct tagEMRTRANSPARENTBLT {
 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;
} EMRTRANSPARENTBLT, *PEMRTRANSPARENTBLT;

Members

emr

The base structure for all record types.

rclBounds

Inclusive bounds, 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 the destination rectangle.

cyDest

Logical height of the destination rectangle.

dwRop

Stores the transparent 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. To make a COLORREF value, use the RGB macro.

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 the source rectangle, in logical units.

cySrc

Height of the source rectangle, in logical units.

Remarks

This structure is to be used during metafile playback.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

BITMAPINFO

COLORREF

Metafile Structures

Metafiles Overview

RGB

TransparentBLT


Feedback

Was this page helpful?

Additional resources