osncore::CSize Class Reference
Defines a two dimensional size data type.
-
Since
-
S60 5.0 Draft
CSize
Public Attributes
|
int32
|
mX
|
int32
|
mY
|
Constructor & Destructor Documentation
CSize()
Default constructor, initializing the mX and mY members to zero.
CSize(int32, int32)
CSize
|
(
|
int32
|
aX,
|
|
int32
|
aY
|
|
)
|
[inline]
|
Parameterized constructor.
Parameters
int32
aX
|
The first dimension of the size ( usually the width ).
|
int32
aY
|
The second dimension of the size ( usually the height ).
|
CSize(const CSize &)
CSize
|
(
|
const
CSize
&
|
aSize
|
)
|
[inline]
|
Parameters
const
CSize
& aSize
|
The size object to be copied.
|
Member Functions Documentation
AsPoint()
Gets a
CPoint
whose coordinates are the width and height of this
CSize
.
operator!=(const CSize &)
bool32
|
operator!=
|
(
|
const
CSize
&
|
aSize
|
)
|
const [inline]
|
Compares this
CSize
with the specified
CSize
for inequality.
For two
CSize
to be unequal, either their width or height values must be different.
Parameters
const
CSize
& aSize
|
The CSize to be compared with this CSize.
|
operator+=(const CSize &)
CSize
&
|
operator+=
|
(
|
const
CSize
&
|
aSize
|
)
|
[inline]
|
CSize
addition assignment operator.
The operator adds the specified
CSize
to this
CSize
, and assigns the result back to this
CSize
.
Parameters
const
CSize
& aSize
|
The CSize to be added.
|
operator-=(const CSize &)
CSize
&
|
operator-=
|
(
|
const
CSize
&
|
aSize
|
)
|
[inline]
|
CSize
subtraction assignment operator.
The operator substracts the specified
CSize
from this
CSize
, and assigns the result back to this
CSize
.
Parameters
const
CSize
& aSize
|
The CSize to be substracted.
|
operator==(const CSize &)
bool32
|
operator==
|
(
|
const
CSize
&
|
aSize
|
)
|
const [inline]
|
Compares this
CSize
with the specified
CSize
for equality.
For two CSizes to be equal, both their width and height values must be equal.
Parameters
const
CSize
& aSize
|
The CSize to be compared with this CSize.
|
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.