D3DRECT structure

Defines a rectangle.

Syntax

typedef struct D3DRECT {
  LONG x1;
  LONG y1;
  LONG x2;
  LONG y2;
} D3DRECT;

Members

x1

Type: LONG

The x-coordinate of the upper-left corner of the rectangle.

y1

Type: LONG

The y-coordinate of the upper-left corner of the rectangle.

x2

Type: LONG

The x-coordinate of the lower-right corner of the rectangle.

y2

Type: LONG

The y-coordinate of the lower-right corner of the rectangle.

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Structures

Clear