rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableComposite::RatioRelativePositionCoordinate Class Reference

This class is used to represent the concept of the end point of a segment with a percentage of the bounding box of an IlvPrintableComposite. The ratio is actually stored in hundredths of a percent. More...

#include <ilviews/printing/composite.h>

Inheritance diagram for IlvPrintableComposite::RatioRelativePositionCoordinate:
IlvPrintableComposite::RelativePositionCoordinate IlvPrintableComposite::PositionCoordinate

List of all members.

Public Member Functions

 RatioRelativePositionCoordinate (IlvPos position, IlBoolean isRelativeToFirst=((IlBoolean) 1))
 The constructor.
virtual PositionCoordinateclone () const
 This function returns a new object allocated on the heap; this object is a copy of the current object.

Detailed Description

This class is used to represent the concept of the end point of a segment with a percentage of the bounding box of an IlvPrintableComposite. The ratio is actually stored in hundredths of a percent.

Library: ilvprint


Constructor & Destructor Documentation

IlvPrintableComposite::RatioRelativePositionCoordinate::RatioRelativePositionCoordinate ( IlvPos  position,
IlBoolean  isRelativeToFirst = ((IlBoolean) 1) 
)

The constructor.

Parameters:
The position (ratio to the reference segment).
isRelativeToFirst Flag to specify whether the position is relative to the first or the last position of the reference segment.

Member Function Documentation

virtual PositionCoordinate* IlvPrintableComposite::RatioRelativePositionCoordinate::clone (  )  const [virtual]

This function returns a new object allocated on the heap; this object is a copy of the current object.

Returns:
A pointer to a new allocated object.

Implements IlvPrintableComposite::PositionCoordinate.


© 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.