ISize

The ISize class uses its coordinates to represent a rectangular size, in horizontal and vertical dimensions.

OS/2 Considerations

You can also construct objects of this class using the following:


ISize - Member Functions and Data by Group

Constructors & Destructor

You can construct, copy, and assign objects of this class. This class uses the compiler-generated copy constructor and assignment operator to copy and assign ISize objects.


[view class]
ISize
Construct and destruct ISize objects.


Overload 1
public:
ISize(const IPair& pair)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
ISize(Coord width, Coord height)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
ISize(const SIZEL& sizl)

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Overload 4
public:
ISize()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 5
public:
ISize(const struct _RECTL& rcl)

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Conversions

Use these members to return an ISize object in a different form.


[view class]
asSIZEL
public:
SIZEL asSIZEL() const

Returns the ISize as a Presentation Manager Toolkit SIZEL structure.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Coordinates

Use these members to query and change the ordered pair of integers in an ISize object.


[view class]
height
public:
Coord height() const

Returns the height represented by the ISize object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setHeight
public:
ISize& setHeight(Coord cy)

Sets the size's height.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setWidth
public:
ISize& setWidth(Coord cx)

Sets the size's width.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
width
public:
Coord width() const

Returns the width represented by the ISize object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ISize - Inherited Member Functions and Data

Inherited Public Functions

IPair

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data