169 QwtSymbol(
const QPainterPath &,
const QBrush &,
const QPen & );
176 void setSize(
const QSize & );
177 void setSize(
int width,
int height = -1 );
178 const QSize&
size()
const;
180 void setPinPoint(
const QPointF &pos,
bool enable =
true );
181 QPointF pinPoint()
const;
183 void setPinPointEnabled(
bool );
184 bool isPinPointEnabled()
const;
186 virtual void setColor(
const QColor & );
188 void setBrush(
const QBrush& b );
189 const QBrush& brush()
const;
191 void setPen(
const QColor &, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
192 void setPen(
const QPen & );
193 const QPen& pen()
const;
195 void setStyle(
Style );
198 void setPath(
const QPainterPath & );
199 const QPainterPath &
path()
const;
201 void setPixmap(
const QPixmap & );
202 const QPixmap &pixmap()
const;
208 void setSvgDocument(
const QByteArray & );
211 void drawSymbol( QPainter *,
const QRectF & )
const;
212 void drawSymbol( QPainter *,
const QPointF & )
const;
213 void drawSymbols( QPainter *,
const QPolygonF & )
const;
214 void drawSymbols( QPainter *,
215 const QPointF *,
int numPoints )
const;
217 virtual QRect boundingRect()
const;
218 void invalidateCache();
221 virtual void renderSymbols( QPainter *,
222 const QPointF *,
int numPoints )
const;
238 QPainter *painter, const QPointF &pos )
const 240 drawSymbols( painter, &pos, 1 );
251 QPainter *painter,
const QPolygonF &points )
const 253 drawSymbols( painter, points.data(), points.size() );
A class for drawing symbols.
GraphId path[kMaxDeadlockPathLen]
Don't use a pixmap cache.
A paint device for scalable graphics.
void drawSymbols(QPainter *, const QPolygonF &) const
Draw symbols at the specified points.
Triangle pointing upwards.
Triangle pointing upwards.
Always use a pixmap cache.
Triangle pointing downwards.