Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalrectanglenode_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | class __attribute__((visibility("default"))) QSGBasicInternalRectangleNode : public QSGInternalRectangleNode | - |
5 | { | - |
6 | public: | - |
7 | QSGBasicInternalRectangleNode(); | - |
8 | - | |
9 | void setRect(const QRectF &rect) override; | - |
10 | void setColor(const QColor &color) override; | - |
11 | void setPenColor(const QColor &color) override; | - |
12 | void setPenWidth(qreal width) override; | - |
13 | void setGradientStops(const QGradientStops &stops) override; | - |
14 | void setGradientVertical(bool vertical) override; | - |
15 | void setRadius(qreal radius) override; | - |
16 | void setAntialiasing(bool antialiasing) override; | - |
17 | void setAligned(bool aligned) override; | - |
18 | void update() override; | - |
19 | - | |
20 | protected: | - |
21 | virtual bool supportsAntialiasing() const { return executed 76979 times by 66 tests: true;return true; Executed by:
executed 76979 times by 66 tests: }return true; Executed by:
| 76979 |
22 | virtual void updateMaterialAntialiasing() = 0; | - |
23 | virtual void updateMaterialBlending(QSGNode::DirtyState *state) = 0; | - |
24 | - | |
25 | void updateGeometry(); | - |
26 | void updateGradientTexture(); | - |
27 | - | |
28 | QRectF m_rect; | - |
29 | QGradientStops m_gradient_stops; | - |
30 | QColor m_color; | - |
31 | QColor m_border_color; | - |
32 | qreal m_radius; | - |
33 | qreal m_pen_width; | - |
34 | - | |
35 | uint m_aligned : 1; | - |
36 | uint m_antialiasing : 1; | - |
37 | uint m_gradient_is_opaque : 1; | - |
38 | uint m_dirty_geometry : 1; | - |
39 | uint m_gradient_is_vertical : 1; | - |
40 | - | |
41 | QSGGeometry m_geometry; | - |
42 | }; | - |
43 | - | |
44 | - | |
Switch to Source code | Preprocessed file |