This class represents the concept of coordinates of a component of a composite. More...
#include <ilviews/printing/composite.h>
Public Member Functions | |
| Coordinates () | |
| The default constructor. More... | |
| Coordinates (Coordinates const &other) | |
| The copy constructor. More... | |
| Coordinates (SegmentCoordinates const &horizontal, SegmentCoordinates const &vertical) | |
| The constructor. More... | |
| ~Coordinates () | |
| The destructor. | |
| IlBoolean | bbox (IlvRect const &includingBox, IlvRect &bbox) const |
| Computes the bounding box of the current coordinates. More... | |
| IlBoolean | isValid () const |
| Returns whether the current object is valid. More... | |
| Coordinates & | operator= (Coordinates const &other) |
| The assignment operator. More... | |
This class represents the concept of coordinates of a component of a composite.
Library: ilvprint
| IlvPrintableComposite::Coordinates::Coordinates | ( | ) |
The default constructor.
This constructor initializes the segments such as the component uses the whole area of the IlvPrintableComposite.
| IlvPrintableComposite::Coordinates::Coordinates | ( | SegmentCoordinates const & | horizontal, |
| SegmentCoordinates const & | vertical | ||
| ) |
The constructor.
| horizontal | The coordinates of the horizontal segment. |
| vertical | The coordinates of the vertical segment. |
| IlvPrintableComposite::Coordinates::Coordinates | ( | Coordinates const & | other | ) |
The copy constructor.
| other | The object to be copied. |
| IlBoolean IlvPrintableComposite::Coordinates::bbox | ( | IlvRect const & | includingBox, |
| IlvRect & | bbox | ||
| ) | const |
Computes the bounding box of the current coordinates.
| includingBox | The bounding box of the objects that include the current one. |
| bbox | The computed bounding box. |
IlTrue when the bounding box may have been computed, IlFalse otherwise. | IlBoolean IlvPrintableComposite::Coordinates::isValid | ( | ) | const |
Returns whether the current object is valid.
IlTrue when the object is valid, IlFalse otherwise. | Coordinates& IlvPrintableComposite::Coordinates::operator= | ( | Coordinates const & | other | ) |
The assignment operator.
| other | The object to be copied. |