9 #ifndef QWT_POLAR_CURVE_H
10 #define QWT_POLAR_CURVE_H
12 #include "qwt_polar_global.h"
13 #include "qwt_polar_item.h"
14 #include <qwt_point_polar.h>
15 #include <qwt_series_data.h>
69 LegendShowLine = 0x01,
72 LegendShowSymbol = 0x02
85 virtual int rtti()
const;
90 void setData( QwtSeriesData<QwtPointPolar> *data );
91 const QwtSeriesData<QwtPointPolar> *data()
const;
93 size_t dataSize()
const;
94 QwtPointPolar sample(
int i )
const;
96 void setPen(
const QPen & );
97 const QPen &pen()
const;
102 void setSymbol( QwtSymbol * );
103 const QwtSymbol *symbol()
const;
105 void setCurveFitter( QwtCurveFitter * );
106 QwtCurveFitter *curveFitter()
const;
108 virtual void draw( QPainter *p,
109 const QwtScaleMap &azimuthMap,
const QwtScaleMap &radialMap,
110 const QPointF &pole,
double radius,
111 const QRectF &canvasRect )
const;
113 virtual void draw( QPainter *p,
114 const QwtScaleMap &azimuthMap,
const QwtScaleMap &radialMap,
115 const QPointF &pole,
int from,
int to )
const;
119 virtual QwtGraphic
legendIcon(
int index,
const QSizeF & )
const;
125 virtual void drawCurve( QPainter *,
int style,
126 const QwtScaleMap &azimuthMap,
const QwtScaleMap &radialMap,
127 const QPointF &pole,
int from,
int to )
const;
129 virtual void drawSymbols( QPainter *,
const QwtSymbol &,
130 const QwtScaleMap &azimuthMap,
const QwtScaleMap &radialMap,
131 const QPointF &pole,
int from,
int to )
const;
133 void drawLines( QPainter *,
134 const QwtScaleMap &azimuthMap,
const QwtScaleMap &radialMap,
135 const QPointF &pole,
int from,
int to )
const;
138 QwtSeriesData<QwtPointPolar> *d_series;
156 return d_series->sample( i );