class TSize |
Stores a two-dimensional size as a width and a height value.
Its data members are public and can be manipulated directly, or by means of the functions provided.
Public Member Functions | |
---|---|
TSize(TUninitialized) | |
TSize() | |
TSize(TInt, TInt) | |
IMPORT_C TPoint | AsPoint() |
IMPORT_C void | SetSize(TInt, TInt) |
IMPORT_C TBool | operator!=(const TSize &) |
IMPORT_C TSize | operator+(const TSize &) |
IMPORT_C TSize | operator+(const TPoint &) |
IMPORT_C TSize & | operator+=(const TSize &) |
IMPORT_C TSize & | operator+=(const TPoint &) |
IMPORT_C TSize | operator-(const TSize &) |
IMPORT_C TSize | operator-(const TPoint &) |
IMPORT_C TSize | operator-() |
IMPORT_C TSize & | operator-=(const TSize &) |
IMPORT_C TSize & | operator-=(const TPoint &) |
IMPORT_C TBool | operator==(const TSize &) |
Public Member Enumerations | |
---|---|
enum | TUninitialized { EUninitialized } |
Public Attributes | |
---|---|
TInt | iHeight |
TInt | iWidth |
TSize | ( | TUninitialized | ) | [inline] |
Constructs the size object with its iWidth and iHeight members set to zero.
TUninitialized |
TSize | ( | TInt | aWidth, |
TInt | aHeight | ||
) | [inline] |
Constructs the size object with the specified width and height values.
IMPORT_C TBool | operator!= | ( | const TSize & | aSize | ) | const |
const TSize & aSize |
IMPORT_C TSize | operator+ | ( | const TSize & | aSize | ) | const |
const TSize & aSize |
IMPORT_C TSize | operator+ | ( | const TPoint & | aPoint | ) | const |
const TPoint & aPoint |
IMPORT_C TSize & | operator+= | ( | const TSize & | aSize | ) |
const TSize & aSize |
IMPORT_C TSize & | operator+= | ( | const TPoint & | aPoint | ) |
const TPoint & aPoint |
IMPORT_C TSize | operator- | ( | const TSize & | aSize | ) | const |
const TSize & aSize |
IMPORT_C TSize | operator- | ( | const TPoint & | aPoint | ) | const |
const TPoint & aPoint |
IMPORT_C TSize & | operator-= | ( | const TSize & | aSize | ) |
const TSize & aSize |
IMPORT_C TSize & | operator-= | ( | const TPoint & | aPoint | ) |
const TPoint & aPoint |
IMPORT_C TBool | operator== | ( | const TSize & | aSize | ) | const |
const TSize & aSize |