Polygon Displayer
A polygon displayer has the following basic characteristics:
Class | |
Category | Single |
Inherits from | |
Number of real data sets displayed | 1 |
Can be used with all types of projections | Yes |
Items drawn | Polygon |
Figure 8.5 illustrates the fact that a polygon displayer can be used with all types of projections. Data sets are represented by polygon displayers in a Cartesian chart (using a Cartesian projection) and in a polar chart (using a polar projection).
Figure 8.5 Polygon Displayers in a Cartesian Chart and in a Polar Chart
We can use the polygon displayer displaying the cyan polygon as an example. We can create this displayer by using the following code:
IlvPolygonChartDisplayer* displayer = new IlvPolygonChartDisplayer(); displayer->setForeground(dpy->getColor("blue")); displayer->setBackground(dpy->getColor("cyan")); |
Note: By default, the polygon is outlined with the foreground color and filled with the background color of the defined palette. It will be displayed only with the outline if the Drawn Filled property is set to IlvFalse. |
Version 5.6
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.