![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qstroker_p.h>
Public Member Functions | |
| QDashStroker (QStroker *stroker) | |
| ~QDashStroker () | |
| QStroker * | stroker () const |
| void | setDashPattern (const QList< qfixed > &dashPattern) |
| QList< qfixed > | dashPattern () const |
| void | setDashOffset (qreal offsetoffset) |
| qreal | dashOffset () const |
| void | begin (void *data) override |
| Prepares the stroker. | |
| void | end () override |
| Finishes the stroke. | |
| void | setStrokeWidth (qreal widthwidth) |
| void | setMiterLimit (qreal limitlimit) |
| Public Member Functions inherited from QStrokerOps | |
| QStrokerOps () | |
| virtual | ~QStrokerOps () |
| void | setMoveToHook (qStrokerMoveToHook moveToHook) |
| void | setLineToHook (qStrokerLineToHook lineToHook) |
| void | setCubicToHook (qStrokerCubicToHook cubicToHook) |
| void | moveTo (qfixed xx, qfixed yy) |
| void | lineTo (qfixed xx, qfixed yy) |
| void | cubicTo (qfixed x1x1, qfixed y1y1, qfixed x2x2, qfixed y2y2, qfixed ex, qfixed ey) |
| void | strokePath (const QPainterPath &pathpath, void *data, const QTransform &matrixmatrix) |
| Convenience function that decomposes path into begin(), moveTo(), lineTo(), curevTo() and end() calls. | |
| void | strokePolygon (const QPointF *pointspoints, int pointCount, bool implicit_close, void *datadata, const QTransform &matrixmatrix) |
| Convenience function for stroking a polygon of the pointCount first points in points. | |
| void | strokeEllipse (const QRectF &ellipse, void *datadata, const QTransform &matrixmatrix) |
| Convenience function for stroking an ellipse with bounding rect rect. | |
| QRectF | clipRect () const |
| void | setClipRect (const QRectF &clip) |
| void | setCurveThresholdFromTransform (const QTransform &transformtransform) |
| void | setCurveThreshold (qfixed threshold) |
| qfixed | curveThreshold () const |
| bool | curveThresholdExplicitlySet () const |
Static Public Member Functions | |
| static QList< qfixed > | patternForStyle (Qt::PenStyle style) |
| static int | repetitionLimit () |
Protected Member Functions | |
| void | processCurrentSubpath () override |
| Protected Member Functions inherited from QStrokerOps | |
| void | emitMoveTo (qfixed xx, qfixed yy) |
| void | emitLineTo (qfixed xx, qfixed yy) |
| void | emitCubicTo (qfixed c1x, qfixed c1y, qfixed c2x, qfixed c2y, qfixed ex, qfixed ey) |
Protected Attributes | |
| QStroker * | m_stroker |
| QList< qfixed > | m_dashPattern |
| qreal | m_dashOffset |
| qreal | m_stroke_width |
| qreal | m_miter_limit |
| Protected Attributes inherited from QStrokerOps | |
| QDataBuffer< Element > | m_elements |
| QRectF | m_clip_rect |
| qfixed | m_curveThreshold |
| qfixed | m_dashThreshold |
| bool | m_curveThresholdExplicitlySet |
| void * | m_customData |
| qStrokerMoveToHook | m_moveTo |
| qStrokerLineToHook | m_lineTo |
| qStrokerCubicToHook | m_cubicTo |
Definition at line 237 of file qstroker_p.h.
| QDashStroker::QDashStroker | ( | QStroker * | stroker | ) |
Definition at line 989 of file qstroker.cpp.
| QDashStroker::~QDashStroker | ( | ) |
Definition at line 999 of file qstroker.cpp.
Prepares the stroker.
Call this function once before starting a stroke by calling moveTo, lineTo or cubicTo.
The customData is passed back through that callback functions and can be used by the user to for instance maintain state information.
Reimplemented from QStrokerOps.
Definition at line 364 of file qstroker_p.h.
|
inline |
Definition at line 252 of file qstroker_p.h.
Definition at line 249 of file qstroker_p.h.
|
inlineoverridevirtual |
Finishes the stroke.
Call this function once when an entire primitive has been stroked.
Reimplemented from QStrokerOps.
Definition at line 371 of file qstroker_p.h.
|
static |
Definition at line 1003 of file qstroker.cpp.
|
overrideprotectedvirtual |
Implements QStrokerOps.
Definition at line 1073 of file qstroker.cpp.
|
inlinestatic |
Definition at line 246 of file qstroker_p.h.
Definition at line 251 of file qstroker_p.h.
Definition at line 248 of file qstroker_p.h.
Definition at line 258 of file qstroker_p.h.
Definition at line 257 of file qstroker_p.h.
|
inline |
Definition at line 243 of file qstroker_p.h.
|
protected |
Definition at line 265 of file qstroker_p.h.
Definition at line 264 of file qstroker_p.h.
|
protected |
Definition at line 268 of file qstroker_p.h.
|
protected |
Definition at line 267 of file qstroker_p.h.
|
protected |
Definition at line 263 of file qstroker_p.h.