#include <qssegment.h>
Inheritance diagram for QSSegment:
Public Methods | |
QSSegment () | |
virtual | ~QSSegment () |
virtual int | startDraw (const QSCurve *) |
virtual void | initPass (int pass) |
virtual void | drawSegment (int nr, const QSPt2f &point, const QSPt2f &delta, const QSGLine &l, const QSGFill &f, const QSGArrow &a1, const QSGArrow &a2)=0 |
virtual void | endPass () |
virtual void | stopDraw () |
Protected Attributes | |
QSDrv * | m_drv |
const QSCurve * | m_parent |
Draws a single element of QSCurve. It can be reimplemented to draw Bars, Vectors, etc, see QSCurve::setPObject. startDrawing() is always called before the drawing begins, endDrawing() is called after drawing is finished. When drawing initPass() is called and next drawSegment() method is called for each datapoint, finally endPass() in invoked and this operation is repeated a few times ( as requested by startDraw() return value )..
|
Constructor. |
|
Destructor |
|
Draws a single point of the data Implemented in QSSLines. |
|
Ends pass Reimplemented in QSSLines. |
|
Inits pass Reimplemented in QSSLines. |
|
Returns the requested number of passes. Reimplemented in QSSLines. |
|
Ends drawing Reimplemented in QSSLines. |