QtiPlot  0.9.8.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PlotMarker Class Reference

#include <PlotCurve.h>

Inheritance diagram for PlotMarker:

Public Member Functions

double angle ()
 
int index ()
 
 PlotMarker (int index, double angle)
 
void setAngle (double a)
 
void setIndex (int i)
 
void setLabelOffset (double xOffset, double yOffset)
 
double xLabelOffset ()
 
double yLabelOffset ()
 

Protected Member Functions

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

Protected Attributes

double d_angle
 
int d_index
 
double d_label_x_offset
 x coordinate offset More...
 
double d_label_y_offset
 y coordinate offset More...
 

Constructor & Destructor Documentation

PlotMarker::PlotMarker ( int  index,
double  angle 
)

Member Function Documentation

double PlotMarker::angle ( )
inline
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
void PlotMarker::setAngle ( double  a)
inline
void PlotMarker::setIndex ( int  i)
inline
void PlotMarker::setLabelOffset ( double  xOffset,
double  yOffset 
)
inline
double PlotMarker::xLabelOffset ( )
inline
double PlotMarker::yLabelOffset ( )
inline

Member Data Documentation

double PlotMarker::d_angle
protected

Referenced by draw().

int PlotMarker::d_index
protected
double PlotMarker::d_label_x_offset
protected

x coordinate offset

double PlotMarker::d_label_y_offset
protected

y coordinate offset


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