ScummVM API documentation
Bagel::CBofRect Class Reference
Inheritance diagram for Bagel::CBofRect:
Bagel::CBofObject

Public Member Functions

 CBofRect (int l, int t, int r, int b)
 
 CBofRect (const CBofRect &srcRect)
 
 CBofRect (const CBofPoint &point, const CBofSize &size)
 
 CBofRect (const CBofPoint &pttopLeft, const CBofPoint &ptBottomRight)
 
int width () const
 
int height () const
 
CBofSize size () const
 
CBofPoint topLeft () const
 
CBofPoint bottomRight () const
 
CBofPoint topRight () const
 
CBofPoint bottomLeft () const
 
bool isRectEmpty () const
 
bool isRectNull () const
 
bool ptInRect (const CBofPoint &point) const
 
void setRect (int x1, int y1, int x2, int y2)
 
void setRectEmpty ()
 
void copyRect (const CBofRect &cRect)
 
bool equalRect (const CBofRect &cRect)
 
 CBofRect (const RECT &cRect)
 
 CBofRect (const RECT *pRect)
 
void setWinRect (const RECT *pRect)
 
RECT getWinRect ()
 
void operator= (const RECT &srcRect)
 
 operator const RECT ()
 
void offsetRect (int x, int y)
 
void offsetRect (const CBofSize &size)
 
void offsetRect (const CBofPoint &point)
 
bool intersectRect (const CBofRect *pRect1, const CBofRect *pRect2)
 
bool intersectRect (const CBofRect &cRect1, const CBofRect &cRect2)
 
bool unionRect (const CBofRect *pRect1, const CBofRect *pRect2)
 
void operator= (const CBofRect &srcRect)
 
bool operator== (const CBofRect &rect)
 
bool operator!= (const CBofRect &rect)
 
void operator+= (const CBofPoint &point)
 
void operator-= (const CBofPoint &point)
 
void operator &= (const CBofRect &rect)
 
void operator|= (const CBofRect &rect)
 
CBofRect operator+ (const CBofPoint &point)
 
CBofRect operator- (const CBofPoint &point)
 
CBofRect operator & (const CBofRect &rect2)
 
CBofRect operator| (const CBofRect &rect2)
 

Public Attributes

int left
 
int top
 
int right
 
int bottom
 

Additional Inherited Members

- Static Public Member Functions inherited from Bagel::CBofObject
static bool isValidObject (const CBofObject *pObject)
 

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