1 \section{\class{wxSize
}}\label{wxsize
}
3 A
{\bf wxSize
} is a useful data structure for graphics operations.
4 It simply contains integer
{\it x
} and
{\it y
} members.
6 \pythonnote{wxPython defines aliases for the
\tt{x
} and
\tt{y
} members
7 named
\tt{width
} and
\tt{height
} since it makes much more sense for
8 sizes. There is also coresponding aliases for the
\tt{GetWidth
} and
9 \tt{GetHeight
} methods.
12 \wxheading{Derived from
}
16 \wxheading{Include files
}
22 \helpref{wxPoint
}{wxpoint
},
\helpref{wxRealPoint
}{wxrealpoint
}
24 \latexignore{\rtfignore{\wxheading{Members
}}}
26 \membersection{wxSize::wxSize
}
28 \func{}{wxSize
}{\void}
30 \func{}{wxSize
}{\param{int
}{ x
},
\param{int
}{ y
}}
32 Creates a size object.
34 \membersection{wxSize::x
}
40 \membersection{wxSize::y
}
46 \membersection{wxSize::GetX
}\label{wxsizegetx
}
48 \constfunc{int
}{GetX
}{\void}
52 \membersection{wxSize::GetY
}\label{wxsizegety
}
54 \constfunc{int
}{GetY
}{\void}
58 \membersection{wxSize::Set
}\label{wxsizeset
}
60 \func{void
}{Set
}{\param{int
}{ x
},
\param{int
}{ y
}}
62 Sets the x and y members.
64 \membersection{wxSize::operator $=$
}
66 \func{void
}{operator $=$
}{\param{const wxSize\&
}{sz
}}