D3DCOMPOSERECTDESTINATION structure

Specifies the source glyph and location in a monochrome surface to copy glyphs into.

Syntax

typedef struct _D3DCOMPOSERECTDESTINATION {
  USHORT SrcRectIndex;
  USHORT Reserved;
  USHORT X;
  USHORT Y;
} D3DCOMPOSERECTDESTINATION;

Members

SrcRectIndex

Type: USHORT

Index particular glyph from vertex buffer containing D3DCOMPOSERECTDESC structures.

Reserved

Type: USHORT

Reserved for alignment purposes.

X

Type: USHORT

Left coordinate to begin copy at.

Y

Type: USHORT

Top coordinate to begin copy at.

Remarks

This structure is used in calls to ComposeRects to indicate the location glyphs should be copied to and which particular glyph should be copied. A vertex buffer (see IDirect3DVertexBuffer9) filled with these structures are created to contain the glyph locations. USHORT members are used to reduce the memory footprint as much as possible.

Requirements

Requirement Value
Header
D3d9types.h

See also

Direct3D Structures