42 #ifndef QTRIANGULATINGSTROKER_P_H 43 #define QTRIANGULATINGSTROKER_P_H 45 #include <private/qdatabuffer_p.h> 47 #include <private/qvectorpath_p.h> 48 #include <private/qbezier_p.h> 49 #include <private/qnumeric_p.h> 50 #include <private/qmath_p.h> 71 inline void normalVector(
float x1,
float y1,
float x2,
float y2,
float *nx,
float *ny);
122 float *nx,
float *ny)
134 pw =
m_width / sqrt(dx*dx + dy*dy);
ElementType
This enum describes the types of elements used to connect vertices in subpaths.
void addElement(QPainterPath::ElementType type, qreal x, qreal y)
#define QT_END_NAMESPACE
This macro expands to.
void cubicTo(const qreal *pts)
Q_DECL_CONSTEXPR T qAbs(const T &t)
The QPen class defines how a QPainter should draw lines and outlines of shapes.
void emitLineSegment(float x, float y, float nx, float ny)
QDataBuffer< QPainterPath::ElementType > m_types
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
void normalVector(float x1, float y1, float x2, float y2, float *nx, float *ny)
void endCapOrJoinClosed(const qreal *start, const qreal *cur, bool implicitClose, bool endsAtStart)
QDataBuffer< qreal > m_points
void setInvScale(qreal invScale)
void process(const QVectorPath &path, const QPen &pen, const QRectF &clip)
QDataBuffer< float > m_vertices
QPainterPath::ElementType * elementTypes() const
Qt::PenCapStyle m_cap_style
void join(const qreal *pts)
void lineTo(const qreal *pts)
const float * vertices() const
void moveTo(const qreal *pts)
void arcPoints(float cx, float cy, float fromX, float fromY, float toX, float toY, QVarLengthArray< float > &points)
Qt::PenJoinStyle m_join_style
void endCap(const qreal *pts)
void setInvScale(qreal invScale)
QDashStroker m_dash_stroker