DirectX SDK

D3DRECT

The D3DRECT structure is a rectangle definition.

typedef struct _D3DRECT { 
    union { 
        LONG x1; 
        LONG lX1; 
    }; 
    union { 
        LONG y1; 
        LONG lY1; 
    }; 
    union { 
        LONG x2; 
        LONG lX2; 
    }; 
    union { 
        LONG y2; 
        LONG lY2; 
    }; 
} D3DRECT, *LPD3DRECT; 

Members

lX1 and lY1
Coordinates of the upper-left corner of the rectangle.
lX2 and lY2
Coordinates of the lower-right corner of the rectangle.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Version: Requires DirectX 2.0 or later.
  Header: Declared in d3dtypes.h.

See Also

IDirect3DDevice7::Clear