rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvPrintableComposite::RatioRelativeSegmentCoordinates Class Reference

This class is used to represent the position, on an axis, of a component. It is a percentage of the bounding box of an IlvPrintableComposite. It is stored in hundredths of a percent. More...

#include <ilviews/printing/composite.h>

Inheritance diagram for IlvPrintableComposite::RatioRelativeSegmentCoordinates:
IlvPrintableComposite::RelativeSegmentCoordinates IlvPrintableComposite::SegmentCoordinates

List of all members.

Public Member Functions

 RatioRelativeSegmentCoordinates (PositionCoordinate const &first, PositionCoordinate const &last, IlvDim length)
 The constructor.
virtual SegmentCoordinatesclone () 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 position, on an axis, of a component. It is a percentage of the bounding box of an IlvPrintableComposite. It is stored in hundredths of a percent.

Library: ilvprint


Constructor & Destructor Documentation

IlvPrintableComposite::RatioRelativeSegmentCoordinates::RatioRelativeSegmentCoordinates ( PositionCoordinate const &  first,
PositionCoordinate const &  last,
IlvDim  length 
)

The constructor.

Parameters:
first The position of the start point of the segment.
last The position of the last point of the segment.
length The length of the segment.

Member Function Documentation

virtual SegmentCoordinates* IlvPrintableComposite::RatioRelativeSegmentCoordinates::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::SegmentCoordinates.

 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.