Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/qquickpointdirection.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | QQuickPointDirection::QQuickPointDirection(QObject *parent) : | - |
4 | QQuickDirection(parent) | - |
5 | , m_x(0) | - |
6 | , m_y(0) | - |
7 | , m_xVariation(0) | - |
8 | , m_yVariation(0) | - |
9 | { | - |
10 | } executed 184 times by 8 tests: end of block Executed by:
| 184 |
11 | - | |
12 | QPointF QQuickPointDirection::sample(const QPointF &) | - |
13 | { | - |
14 | QPointF ret; | - |
15 | ret.setX(m_x - m_xVariation + QRandomGenerator::global()->generateDouble() * m_xVariation * 2); | - |
16 | ret.setY(m_y - m_yVariation + QRandomGenerator::global()->generateDouble() * m_yVariation * 2); | - |
17 | return executed 115128 times by 7 tests: ret;return ret; Executed by:
executed 115128 times by 7 tests: return ret; Executed by:
| 115128 |
18 | } | - |
19 | - | |
20 | - | |
21 | - | |
Switch to Source code | Preprocessed file |