rwlogo

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvPrintableComposite::Coordinates Class Reference

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 (SegmentCoordinates const &horizontal, SegmentCoordinates const &vertical)
 The constructor. More...
 
 Coordinates (Coordinates const &other)
 The copy 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...
 
Coordinatesoperator= (Coordinates const &other)
 The assignment operator. More...
 

Detailed Description

This class represents the concept of coordinates of a component of a composite.

Library: ilvprint

Constructor & Destructor Documentation

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.

Parameters
horizontalThe coordinates of the horizontal segment.
verticalThe coordinates of the vertical segment.
IlvPrintableComposite::Coordinates::Coordinates ( Coordinates const &  other)

The copy constructor.

Parameters
otherThe object to be copied.

Member Function Documentation

IlBoolean IlvPrintableComposite::Coordinates::bbox ( IlvRect const &  includingBox,
IlvRect bbox 
) const

Computes the bounding box of the current coordinates.

Parameters
includingBoxThe bounding box of the objects that include the current one.
bboxThe computed bounding box.
Returns
A Boolean, which is IlTrue when the bounding box may have been computed, IlFalse otherwise.
IlBoolean IlvPrintableComposite::Coordinates::isValid ( ) const

Returns whether the current object is valid.

Returns
A Boolean value, which is IlTrue when the object is valid, IlFalse otherwise.
Coordinates& IlvPrintableComposite::Coordinates::operator= ( Coordinates const &  other)

The assignment operator.

Parameters
otherThe object to be copied.

© Copyright 2014, 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.