This class represents a size in two dimensions.
![]() | PDim () Create a dimensions object with the initial width and height values of zero |
![]() | PDim ( PDIMENSION width, PDIMENSION height ) Create a dimension object with the initial width and height values. |
![]() | PDim ( const PDim & dim ) Create a copy of the specified dimension. |
![]() | Clone () const Create a copy of the specified dimensions. |
![]() | Compare (const PObject & obj) const Determine the relative rank of the two dimensions. |
![]() | Width () const Get the width dimension. |
![]() | Height () const Get the height dimension. |
![]() | SetWidth ( PDIMENSION width ) Set the width dimension. |
![]() | SetHeight ( PDIMENSION height ) Set the height dimension. |
![]() | AddWidth ( PORDINATE dw ) Add a value to the width dimension. |
![]() | AddHeight ( PORDINATE dh ) Add a value to the height dimension. |
![]() | operator+ ( const PDim & dim ) const Add the value to the dimension and return a third dimension. |
![]() | operator+= ( const PDim & dim ) Add the value to the dimension. |
![]() | operator- ( const PDim & dim ) const Subtract the value to the dimension and return a third dimension. |
![]() | operator-= ( const PDim & dim ) Subtract the value to the dimension. |
![]() | operator* ( PDIMENSION scale ) const Multiple the dimension by the scale factor and return a third dimension. |
![]() | operator*= ( PDIMENSION scale ) Multiply the dimension by the scale factor. |
![]() | operator/ ( PDIMENSION scale ) const Divide the dimension by the scale factor and return a third dimension. |
![]() | operator/= ( PDIMENSION scale ) Divide the dimension by the scale factor. |
![]() | Overrides from class PObject |
![]() | New function for class |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
This class represents a size in two dimensions. The pair of values are platform dependent and are dependent on the standard type PDIMENSION.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
The operation is performed in cartesian coordinates so each dimension
is independently dealt with.
PDim( PDIMENSION width, PDIMENSION height )
height - Initial height of the dimensions. PDim( const PDim & dim )
Overrides from class PObject
virtual PObject* Clone() const
virtual Comparison Compare(const PObject & obj) const
New function for class
PDIMENSION Width() const
PDIMENSION Height() const
void SetWidth( PDIMENSION width )
void SetHeight( PDIMENSION height )
void AddWidth( PORDINATE dw )
void AddHeight( PORDINATE dh )
PDim operator+( const PDim & dim ) const
PDim& operator+=( const PDim & dim )
PDim operator-( const PDim & dim ) const
PDim& operator-=( const PDim & dim )
PDim operator*( PDIMENSION scale ) const
PDim& operator*=( PDIMENSION scale )
PDim operator/( PDIMENSION scale ) const
PDim& operator/=( PDIMENSION scale )
Alphabetic index HTML hierarchy of classes or Java