ScummVM API documentation
Bagel::MFC::CRect Class Reference
Inheritance diagram for Bagel::MFC::CRect:
Bagel::MFC::tagRECT Bagel::HodjNPodj::Metagame::Gtl::CRRect

Public Member Functions

 CRect (int l, int t, int r, int b)
 
 CRect (const RECT &srcRect)
 
 CRect (const LPCRECT lpSrcRect)
 
 CRect (const POINT &point, const SIZE &size)
 
 CRect (const POINT &topLeft, const POINT &bottomRight)
 
int Width () const
 
int Height () const
 
CSize Size () const
 
CPoint CenterPoint () const
 
void SwapLeftRight ()
 
 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 point)
 
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 point) const
 
CRect operator- (POINT point) 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
 
CPointTopLeft ()
 
CPointBottomRight ()
 
- Public Member Functions inherited from Bagel::MFC::tagRECT
 operator Common::Rect () const
 
bool contains (int x, int y) const
 
bool contains (const POINT &pt) const
 

Static Public Member Functions

static void WINAPI SwapLeftRight (LPRECT lpRect)
 

Additional Inherited Members

- Public Attributes inherited from Bagel::MFC::tagRECT
int left
 
int top
 
int right
 
int bottom
 

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