crashrpt
Public Member Functions | List of all members
WTL::CRect Class Reference
Inheritance diagram for WTL::CRect:

Public Member Functions

 CRect (int l, int t, int r, int b)
 
 CRect (const RECT &srcRect)
 
 CRect (LPCRECT lpSrcRect)
 
 CRect (POINT point, SIZE size)
 
 CRect (POINT topLeft, POINT bottomRight)
 
int Width () const
 
int Height () const
 
CSize Size () const
 
CPointTopLeft ()
 
CPointBottomRight ()
 
const CPointTopLeft () const
 
const CPointBottomRight () const
 
CPoint CenterPoint () const
 
 operator LPRECT ()
 
 operator LPCRECT () const
 
BOOL IsRectEmpty () const
 
BOOL IsRectNull () const
 
BOOL PtInRect (POINT point) const
 
void SetRect (int x1, int y1, int x2, int y2)
 
void SetRect (POINT topLeft, POINT bottomRight)
 
void SetRectEmpty ()
 
void CopyRect (LPCRECT lpSrcRect)
 
BOOL EqualRect (LPCRECT lpRect) const
 
void InflateRect (int x, int y)
 
void InflateRect (SIZE size)
 
void InflateRect (LPCRECT lpRect)
 
void InflateRect (int l, int t, int r, int b)
 
void DeflateRect (int x, int y)
 
void DeflateRect (SIZE size)
 
void DeflateRect (LPCRECT lpRect)
 
void DeflateRect (int l, int t, int r, int b)
 
void OffsetRect (int x, int y)
 
void OffsetRect (SIZE size)
 
void OffsetRect (POINT point)
 
void NormalizeRect ()
 
void MoveToY (int y)
 
void MoveToX (int x)
 
void MoveToXY (int x, int y)
 
void MoveToXY (POINT pt)
 
BOOL IntersectRect (LPCRECT lpRect1, LPCRECT lpRect2)
 
BOOL UnionRect (LPCRECT lpRect1, LPCRECT lpRect2)
 
BOOL SubtractRect (LPCRECT lpRectSrc1, LPCRECT lpRectSrc2)
 
void operator= (const RECT &srcRect)
 
BOOL operator== (const RECT &rect) const
 
BOOL operator!= (const RECT &rect) const
 
void operator+= (POINT point)
 
void operator+= (SIZE size)
 
void operator+= (LPCRECT lpRect)
 
void operator-= (POINT point)
 
void operator-= (SIZE size)
 
void operator-= (LPCRECT lpRect)
 
void operator&= (const RECT &rect)
 
void operator|= (const RECT &rect)
 
CRect operator+ (POINT pt) const
 
CRect operator- (POINT pt) const
 
CRect operator+ (LPCRECT lpRect) const
 
CRect operator+ (SIZE size) const
 
CRect operator- (SIZE size) const
 
CRect operator- (LPCRECT lpRect) const
 
CRect operator& (const RECT &rect2) const
 
CRect operator| (const RECT &rect2) const
 
CRect MulDiv (int nMultiplier, int nDivisor) const
 

The documentation for this class was generated from the following file: