PlotMarker Class Reference

#include <PlotCurve.h>

List of all members.

Public Member Functions

double angle ()
int index ()
 PlotMarker (int index, double angle)
void setAngle (double a)
void setIndex (int i)

Protected Member Functions

void draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &r) const
 Does the actual drawing; see QwtPlotItem::draw.

Protected Attributes

double d_angle
int d_index

Constructor & Destructor Documentation

PlotMarker::PlotMarker ( int  index,
double  angle 
)

Member Function Documentation

double PlotMarker::angle (  )  [inline]

References d_angle.

void PlotMarker::draw ( QPainter *  p,
const QwtScaleMap &  xMap,
const QwtScaleMap &  yMap,
const QRect &  r 
) const [protected]

Does the actual drawing; see QwtPlotItem::draw.

References d_angle.

int PlotMarker::index (  )  [inline]

References d_index.

Referenced by DataCurve::updateLabelsPosition().

void PlotMarker::setAngle ( double  a  )  [inline]

References d_angle.

Referenced by DataCurve::setLabelsRotation().

void PlotMarker::setIndex ( int  i  )  [inline]

References d_index.


Member Data Documentation

double PlotMarker::d_angle [protected]

Referenced by angle(), draw(), and setAngle().

int PlotMarker::d_index [protected]

Referenced by index(), and setIndex().


The documentation for this class was generated from the following files:

Generated on Tue Nov 3 10:48:56 2009 for QtiPlot by  doxygen 1.6.1