wxAccordion
Public Member Functions | Public Attributes | List of all members
wxRect Class Reference

Public Member Functions

 wxRect (int xx, int yy, int ww, int hh)
 
 wxRect (const wxPoint &topLeft, const wxPoint &bottomRight)
 
 wxRect (const wxPoint &pt, const wxSize &size)
 
 wxRect (const wxSize &size)
 
int GetX () const
 
void SetX (int xx)
 
int GetY () const
 
void SetY (int yy)
 
int GetWidth () const
 
void SetWidth (int w)
 
int GetHeight () const
 
void SetHeight (int h)
 
wxPoint GetPosition () const
 
void SetPosition (const wxPoint &p)
 
wxSize GetSize () const
 
void SetSize (const wxSize &s)
 
bool IsEmpty () const
 
int GetLeft () const
 
int GetTop () const
 
int GetBottom () const
 
int GetRight () const
 
void SetLeft (int left)
 
void SetRight (int right)
 
void SetTop (int top)
 
void SetBottom (int bottom)
 
wxPoint GetTopLeft () const
 
wxPoint GetLeftTop () const
 
void SetTopLeft (const wxPoint &p)
 
void SetLeftTop (const wxPoint &p)
 
wxPoint GetBottomRight () const
 
wxPoint GetRightBottom () const
 
void SetBottomRight (const wxPoint &p)
 
void SetRightBottom (const wxPoint &p)
 
wxPoint GetTopRight () const
 
wxPoint GetRightTop () const
 
void SetTopRight (const wxPoint &p)
 
void SetRightTop (const wxPoint &p)
 
wxPoint GetBottomLeft () const
 
wxPoint GetLeftBottom () const
 
void SetBottomLeft (const wxPoint &p)
 
void SetLeftBottom (const wxPoint &p)
 
wxRectInflate (wxCoord dx, wxCoord dy)
 
wxRectInflate (const wxSize &d)
 
wxRectInflate (wxCoord d)
 
wxRect Inflate (wxCoord dx, wxCoord dy) const
 
wxRectDeflate (wxCoord dx, wxCoord dy)
 
wxRectDeflate (const wxSize &d)
 
wxRectDeflate (wxCoord d)
 
wxRect Deflate (wxCoord dx, wxCoord dy) const
 
void Offset (wxCoord dx, wxCoord dy)
 
void Offset (const wxPoint &pt)
 
wxRectIntersect (const wxRect &rect)
 
wxRect Intersect (const wxRect &rect) const
 
wxRectUnion (const wxRect &rect)
 
wxRect Union (const wxRect &rect) const
 
bool Contains (int x, int y) const
 
bool Contains (const wxPoint &pt) const
 
bool Contains (const wxRect &rect) const
 
bool Intersects (const wxRect &rect) const
 
wxRectoperator+= (const wxRect &rect)
 
wxRectoperator*= (const wxRect &rect)
 
wxRect CentreIn (const wxRect &r, int dir=wxBOTH) const
 
wxRect CenterIn (const wxRect &r, int dir=wxBOTH) const
 

Public Attributes

int x
 
int y
 
int width
 
int height