D3DCOMPOSERECTDESC structure

Specifies the rectangle used to enclose glyphs on a monochrome surface.

Syntax

typedef struct _D3DCOMPOSERECTDESC {
  USHORT X;
  USHORT Y;
  USHORT Width;
  USHORT Height;
} D3DCOMPOSERECTDESC;

Members

X

Type: USHORT

Left coordinate to begin copy at.

Y

Type: USHORT

Top coordinate to begin copy at.

Width

Type: USHORT

Number of texels from left coordinate.

Height

Type: USHORT

Number of texels from the top coordinate.

Remarks

This structure is used in calls to ComposeRects to enclose glyphs on the source surface. 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