Grid Class Reference

#include <Plot.h>

List of all members.

Public Member Functions

void draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const
 Draw the grid.
void drawLines (QPainter *painter, const QRect &rect, Qt::Orientation orientation, const QwtScaleMap &map, const QwtValueList &values) const
 Grid ()


Constructor & Destructor Documentation

Grid::Grid (  )  [inline]


Member Function Documentation

void Grid::draw ( QPainter *  painter,
const QwtScaleMap &  mx,
const QwtScaleMap &  my,
const QRect &  r 
) const

Draw the grid.

The grid is drawn into the bounding rectangle such that gridlines begin and end at the rectangle's borders. The X and Y maps are used to map the scale divisions into the drawing region screen.

Parameters:
painter Painter
mx X axis map
my Y axis
r Contents rect of the plot canvas

void Grid::drawLines ( QPainter *  painter,
const QRect &  rect,
Qt::Orientation  orientation,
const QwtScaleMap &  map,
const QwtValueList &  values 
) const


The documentation for this class was generated from the following files:
Generated on Mon Oct 15 06:11:43 2007 for QtiPlot by  doxygen 1.5.3