A wxSize is a useful data structure for graphics operations. It simply contains integer x and y members.
wxPython note:
wxPython defines aliases for the x and y members
named width and height since it makes much more sense for
sizes. There is also coresponding aliases for the GetWidth and
GetHeight methods.
Derived from
None
Include files
<wx/gdicmn.h>
See also
Members
wxSize::wxSize
wxSize::x
wxSize::y
wxSize::GetX
wxSize::GetY
wxSize::Set
wxSize::operator =
wxSize()
wxSize(int x, int y)
Creates a size object.
int x
x member.
int y
y member.
int GetX() const
Gets the x member.
int GetY() const
Gets the y member.
void Set(int x, int y)
Sets the x and y members.
void operator =(const wxSize& sz)
Assignment operator.