Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Horizontal grid (using relief lines) for Gantt lines. More...
#include <ilviews/gantt/ganttgrd.h>
Public Member Functions | |
IlvGanttLineReliefGrid (IlvGanttChart *gantt, IlvPalette *gridPal) | |
Constructor to create new instances. | |
virtual void | drawLine (IlvPort *port, const IlvPalette *palette, const IlvTransformer *t, IlvPoint &from, IlvPoint &to) const |
Draws a grid line. | |
virtual void | fillGrid (IlvPort *port, const IlvTransformer *t, const IlvRegion *clip) const |
Fills the horizontal grid for the Gantt chart. |
Horizontal grid (using relief lines) for Gantt lines.
Library: ilvgantt
This class draws horizontal grids using relief lines, for the Gantt lines in the manager views of the Gantt chart.
IlvGanttLineReliefGrid::IlvGanttLineReliefGrid | ( | IlvGanttChart * | gantt, | |
IlvPalette * | gridPal | |||
) |
Constructor to create new instances.
The palette parameter specifies the foreground of the grid. An inverted palette is automatically computed for filling the background.
gantt | The Gantt chart for which to draw the grid. | |
palette | The palette for the grid. |
virtual void IlvGanttLineReliefGrid::drawLine | ( | IlvPort * | port, | |
const IlvPalette * | palette, | |||
const IlvTransformer * | t, | |||
IlvPoint & | from, | |||
IlvPoint & | to | |||
) | const [virtual] |
Draws a grid line.
This function is called by the drawGrid()
method to draw the grid lines. Subclasses can override this function to draw customized lines.
port | The destination to draw the grid. | |
palette | The palette used to draw the line. | |
t | The transformer used to draw the grid. | |
from | The start point of the line to draw. | |
to | The end point of the line to draw. |
Reimplemented from IlvGanttHorizontalGridImpl.
virtual void IlvGanttLineReliefGrid::fillGrid | ( | IlvPort * | port, | |
const IlvTransformer * | t, | |||
const IlvRegion * | clip | |||
) | const [virtual] |
Fills the horizontal grid for the Gantt chart.
This function fills the background of the grid. Note that this function does not push the clip.
port | The destination to draw the grid. | |
t | The transformer used to draw the grid. | |
clip | The clip region. |
Reimplemented from IlvGanttHorizontalGridImpl.
© 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.