Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQuickSvgParser Namespace Reference

Functions

bool parsePathDataFast (const QString &dataStr, QPainterPath &path)
 
Q_QUICK_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(), parseNumbersArray(), pathArc(), rx(), ry(), QString::size(), str, 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: