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::PlotMarker ( int  index,
double  angle 
)

Member Function Documentation

◆ angle()

double PlotMarker::angle ( )
inline

◆ draw()

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.

◆ index()

int PlotMarker::index ( )
inline

◆ setAngle()

void PlotMarker::setAngle ( double  a)
inline

◆ setIndex()

void PlotMarker::setIndex ( int  i)
inline

◆ setLabelOffset()

void PlotMarker::setLabelOffset ( double  xOffset,
double  yOffset 
)
inline

◆ xLabelOffset()

double PlotMarker::xLabelOffset ( )
inline

◆ yLabelOffset()

double PlotMarker::yLabelOffset ( )
inline

Member Data Documentation

◆ d_angle

double PlotMarker::d_angle
protected

Referenced by draw().

◆ d_index

int PlotMarker::d_index
protected

◆ d_label_x_offset

double PlotMarker::d_label_x_offset
protected

x coordinate offset

◆ d_label_y_offset

double PlotMarker::d_label_y_offset
protected

y coordinate offset


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