![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Implementation of circular scales. More...
#include <ilviews/charts/scaledis.h>
Public Member Functions | |
| IlvCircularScaleDisplayer (IlvCoordinateInfo *coordInfo, IlUInt stepsCount, const char *const *stepLabels, IlUInt subStepsCount, IlvPalette *defaultPalette) | |
| Constructor. | |
| IlvCircularScaleDisplayer (IlvCoordinateInfo *coordInfo, IlvPalette *defaultPalette) | |
| Constructor. | |
| virtual IlvAbstractScaleDisplayer * | copy () const |
| Virtual copy constructor. | |
| virtual IlvAbstractChartCursor * | createCursor (const IlvSingleScaleDisplayer *scaleRef=0) const |
| Factory method to create a default cursor. | |
| virtual IlvAbstractGridDisplayer * | createGridDisplayer (const IlvSingleScaleDisplayer *scaleRef=0) const |
| Factory method to create a default grid. | |
Implementation of circular scales.
Library: ilvcharts
This class is a subclass of IlvSingleScaleDisplayer that allows you to display a scale with a circular axis.
IlvSingleScaleDisplayer. | IlvCircularScaleDisplayer::IlvCircularScaleDisplayer | ( | IlvCoordinateInfo * | coordInfo, | |
| IlvPalette * | defaultPalette | |||
| ) |
Constructor.
Initializes a new IlvCircularScaleDisplayer object.
| coordInfo | The coordinate information to which the scale is connected. | |
| defaultPalette | The default palette used to draw the various parts of the scale (axis, step labels, axis label). Each individual part can be assigned a different palette afterwards. |
| IlvCircularScaleDisplayer::IlvCircularScaleDisplayer | ( | IlvCoordinateInfo * | coordInfo, | |
| IlUInt | stepsCount, | |||
| const char *const * | stepLabels, | |||
| IlUInt | subStepsCount, | |||
| IlvPalette * | defaultPalette | |||
| ) |
Constructor.
Initializes a new IlvCircularScaleDisplayer object.
| coordInfo | The coordinate information to which the scale is connected. | |
| stepsCount | The number of major steps. | |
| stepLabels | The labels of the major steps. | |
| subStepsCount | The number of minor steps between two major steps. | |
| defaultPalette | The default palette used to draw the various parts of the scale (axis, step labels, axis label). Each individual part can be assigned a different palette afterwards. |
IlvAbstractScaleDisplayer::setStepLabels. | virtual IlvAbstractScaleDisplayer* IlvCircularScaleDisplayer::copy | ( | ) | const [virtual] |
Virtual copy constructor.
Creates and returns a copy of the current object. This method must be overloaded in subclasses. It is automatically declared by the DeclareScaleDisplayerTypeInfo macro. The IlvPredefinedScaleDisplayerIOMembers macro lets you define a default implementation, which returns an instance initialized with the copy constructor.
Implements IlvAbstractScaleDisplayer.
| virtual IlvAbstractChartCursor* IlvCircularScaleDisplayer::createCursor | ( | const IlvSingleScaleDisplayer * | scaleRef = 0 |
) | const [virtual] |
Factory method to create a default cursor.
The default implementation returns an instance of IlvRadialChartCursor.
| scaleRef | The scale that can be used as a reference for the created cursor to indicate where the cursor line must stop. |
Implements IlvSingleScaleDisplayer.
| virtual IlvAbstractGridDisplayer* IlvCircularScaleDisplayer::createGridDisplayer | ( | const IlvSingleScaleDisplayer * | scaleRef = 0 |
) | const [virtual] |
Factory method to create a default grid.
The default implementation returns an instance of IlvRadialGridDisplayer.
| scaleRef | The scale that can be used as a reference for the created grid to indicate where the grid lines must stop. |
Implements IlvSingleScaleDisplayer.
© 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.