rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableComposite::Coordinates Class Reference

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

#include <ilviews/printing/composite.h>

List of all members.

Public Member Functions

 Coordinates (Coordinates const &other)
 The copy constructor.
 Coordinates (SegmentCoordinates const &horizontal, SegmentCoordinates const &vertical)
 The constructor.
 Coordinates ()
 The default constructor.
 ~Coordinates ()
 The destructor.
IlBoolean bbox (IlvRect const &includingBox, IlvRect &bbox) const
 Computes the bounding box of the current coordinates.
IlBoolean isValid () const
 Returns whether the current object is valid.
Coordinatesoperator= (Coordinates const &other)
 The assignment operator.

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:
horizontal The coordinates of the horizontal segment.
vertical The coordinates of the vertical segment.
IlvPrintableComposite::Coordinates::Coordinates ( Coordinates const &  other  ) 

The copy constructor.

Parameters:
other The 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:
includingBox The bounding box of the objects that include the current one.
bbox The 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:
other The object to be copied.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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