954b8ae603
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
65 lines
1.0 KiB
TeX
65 lines
1.0 KiB
TeX
\section{\class{wxSize}}\label{wxsize}
|
|
|
|
A {\bf wxSize} is a useful data structure for graphics operations.
|
|
It simply contains integer {\it x} and {\it y} members.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
None
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/gdicmn.h>
|
|
|
|
\wxheading{See also}
|
|
|
|
\helpref{wxPoint}{wxpoint}, \helpref{wxRealPoint}{wxrealpoint}
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxSize::wxSize}
|
|
|
|
\func{}{wxSize}{\void}
|
|
|
|
\func{}{wxSize}{\param{int}{ x}, \param{int}{ y}}
|
|
|
|
Creates a size object.
|
|
|
|
\membersection{wxSize::x}
|
|
|
|
\member{int}{x}
|
|
|
|
x member.
|
|
|
|
\membersection{wxSize::y}
|
|
|
|
\member{int}{ y}
|
|
|
|
y member.
|
|
|
|
\membersection{wxSize::GetX}\label{wxsizegetx}
|
|
|
|
\constfunc{int}{GetX}{\void}
|
|
|
|
Gets the x member.
|
|
|
|
\membersection{wxSize::GetY}\label{wxsizegety}
|
|
|
|
\constfunc{int}{GetY}{\void}
|
|
|
|
Gets the y member.
|
|
|
|
\membersection{wxSize::Set}\label{wxsizeset}
|
|
|
|
\func{void}{Set}{\param{int}{ x}, \param{int}{ y}}
|
|
|
|
Sets the x and y members.
|
|
|
|
\membersection{wxSize::operator $=$}
|
|
|
|
\func{void}{operator $=$}{\param{const wxSize\& }{sz}}
|
|
|
|
Assignment operator.
|
|
|
|
|