27#ifndef QWT_VECTOR_FIELD_SYMBOL_H
28#define QWT_VECTOR_FIELD_SYMBOL_H
30#include "qwt_global.h"
78 virtual void paint( QPainter* )
const = 0;
104 virtual void setLength( qreal length )
override;
106 virtual qreal length()
const override;
108 virtual void paint( QPainter* )
const override;
135 virtual void setLength( qreal length )
override;
137 virtual qreal length()
const override;
139 virtual void paint( QPainter* )
const override;
箭头实现,绘制带轮廓的填充箭头,使用 恒定宽度的三角形头部。
Definition qwt_vectorfield_symbol.h:96
定义箭头绘制例程的抽象接口。
Definition qwt_vectorfield_symbol.h:66
virtual qreal length() const =0
Return the length of the symbol/arrow
virtual void paint(QPainter *) const =0
Draw the symbol/arrow
virtual void setLength(qreal length)=0
Set the length of the symbol/arrow
箭头实现,仅使用线条,可选择填充箭头或仅 线条。
Definition qwt_vectorfield_symbol.h:127