class SmallSize
Describes a zero-based size in character units.
Global Functions
int Compare (const var, const var) | Compares two sizes. |
Constructors
Properties
int Height () | Returns the height of this instance. |
Height (const int) | Sets the height of this instance. |
int Width () | Returns the width of this instance. |
Width (const int) | Sets the width of this instance. |
Reference
function int Compare (const var v1, const var v2) |
Compares two sizes. This can be used as a comparator delegate for the array::sort() and list::sort() functions. |
method SmallSize () |
Constructs a new zero size. |
method SmallSize (const int width, const int height) |
Constructs a size from width and height. |
method SmallSize (const SmallSize src) |
Copy-constructs a size. |
accessor int Height () |
Returns the height of this instance. |
accessor Height (const int) |
Sets the height of this instance. |
accessor int Width () |
Returns the width of this instance. |
accessor Width (const int) |
Sets the width of this instance. |