Rogue Wave Views |
Rogue Wave Views Documentation Home |
This abstract class is used to represent the concept of the end point of a segment relatively to the bounding box of an IlvPrintableComposite
.
More...
#include <ilviews/printing/composite.h>
Public Member Functions | |
RelativePositionCoordinate (IlvPos position, IlBoolean isRelativeToFirst=IlTrue) | |
The constructor. More... | |
RelativePositionCoordinate (RelativePositionCoordinate const &other) | |
The copy constructor. More... | |
IlvPos | getPosition () const |
Gets the value of the position. More... | |
IlBoolean | isRelativeToFirstReferencePosition () const |
Returns whether the position is relative to the first position of the reference. More... | |
RelativePositionCoordinate & | operator= (RelativePositionCoordinate const &other) |
The assignment operator. More... | |
void | setPosition (IlvPos newPosition) |
Sets the internal value of the position. More... | |
void | setRelativeToFirstReferencePosition (IlBoolean val) |
Sets whether the position is relative to the first position of the reference. More... | |
Public Member Functions inherited from IlvPrintableComposite::PositionCoordinate | |
PositionCoordinate () | |
The constructor. More... | |
virtual PositionCoordinate * | clone () const =0 |
This function returns a new object allocated on the heap, this object is a copy of the current object. More... | |
This abstract class is used to represent the concept of the end point of a segment relatively to the bounding box of an IlvPrintableComposite
.
Library: ilvprint
IlvPrintableComposite::RelativePositionCoordinate::RelativePositionCoordinate | ( | IlvPos | position, |
IlBoolean | isRelativeToFirst = IlTrue |
||
) |
The constructor.
position | The position. |
isRelativeToFirst | Flag to specify whether the position is relative to the first or the last position of the reference segment. |
IlvPrintableComposite::RelativePositionCoordinate::RelativePositionCoordinate | ( | RelativePositionCoordinate const & | other | ) |
The copy constructor.
other | Another instance of this class. |
IlvPos IlvPrintableComposite::RelativePositionCoordinate::getPosition | ( | ) | const |
Gets the value of the position.
This is the value given as parameter of the constructor or set by setPosition
.
IlBoolean IlvPrintableComposite::RelativePositionCoordinate::isRelativeToFirstReferencePosition | ( | ) | const |
Returns whether the position is relative to the first position of the reference.
IlTrue
when it is relative to the first position of the reference, IlFalse
otherwise. RelativePositionCoordinate& IlvPrintableComposite::RelativePositionCoordinate::operator= | ( | RelativePositionCoordinate const & | other | ) |
The assignment operator.
other | Another instance of this class. |
void IlvPrintableComposite::RelativePositionCoordinate::setPosition | ( | IlvPos | newPosition | ) |
Sets the internal value of the position.
newPosition | The new value of the position. |
void IlvPrintableComposite::RelativePositionCoordinate::setRelativeToFirstReferencePosition | ( | IlBoolean | val | ) |
Sets whether the position is relative to the first position of the reference.
val | IlTrue when it is relative to the first position of the reference, IlFalse otherwise. |
© Copyright 2015, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.