Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickSvgParser Namespace Reference

Functions

bool parsePathDataFast (const QString &dataStr, QPainterPath &path)
 
Q_QUICK_PRIVATE_EXPORT void pathArc (QPainterPath &path, qreal rx, qreal ry, qreal x_axis_rotation, int large_arc_flag, int sweep_flag, qreal x, qreal y, qreal curx, qreal cury)
 

Function Documentation

◆ parsePathDataFast()

bool QQuickSvgParser::parsePathDataFast ( const QString dataStr,
QPainterPath path 
)

Definition at line 233 of file qquicksvgparser.cpp.

References arg, c2, QString::constData(), e, parseNumbersArray(), pathArc(), rx(), ry(), QString::size(), str, QChar::toLatin1(), QChar::unicode(), QPointF::x(), and QPointF::y().

Referenced by QQuickPathSvg::addToPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pathArc()

void QQuickSvgParser::pathArc ( QPainterPath path,
qreal  rx,
qreal  ry,
qreal  x_axis_rotation,
int  large_arc_flag,
int  sweep_flag,
qreal  x,
qreal  y,
qreal  curx,
qreal  cury 
)

Definition at line 152 of file qquicksvgparser.cpp.

References d, i, M_PI, pathArcSegment(), qAbs(), qAtan2(), qCeil(), qCos(), qDegreesToRadians(), qSin(), qSqrt(), rx(), and ry().

Referenced by QQuickPathArc::addToPath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: