Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | #ifndef QSGBASICINTERNALRECTANGLENODE_P_H | - |
42 | #define QSGBASICINTERNALRECTANGLENODE_P_H | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | #include <private/qsgadaptationlayer_p.h> | - |
56 | | - |
57 | QT_BEGIN_NAMESPACE | - |
58 | | - |
59 | class Q_QUICK_PRIVATE_EXPORT QSGBasicInternalRectangleNode : public QSGInternalRectangleNode | - |
60 | { | - |
61 | public: | - |
62 | QSGBasicInternalRectangleNode(); | - |
63 | | - |
64 | void setRect(const QRectF &rect) override; | - |
65 | void setColor(const QColor &color) override; | - |
66 | void setPenColor(const QColor &color) override; | - |
67 | void setPenWidth(qreal width) override; | - |
68 | void setGradientStops(const QGradientStops &stops) override; | - |
69 | void setGradientVertical(bool vertical) override; | - |
70 | void setRadius(qreal radius) override; | - |
71 | void setAntialiasing(bool antialiasing) override; | - |
72 | void setAligned(bool aligned) override; | - |
73 | void update() override; | - |
74 | | - |
75 | protected: | - |
76 | virtual bool supportsAntialiasing() const { return true; }executed 76979 times by 66 tests: return true; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 76979 |
77 | virtual void updateMaterialAntialiasing() = 0; | - |
78 | virtual void updateMaterialBlending(QSGNode::DirtyState *state) = 0; | - |
79 | | - |
80 | void updateGeometry(); | - |
81 | void updateGradientTexture(); | - |
82 | | - |
83 | QRectF m_rect; | - |
84 | QGradientStops m_gradient_stops; | - |
85 | QColor m_color; | - |
86 | QColor m_border_color; | - |
87 | qreal m_radius; | - |
88 | qreal m_pen_width; | - |
89 | | - |
90 | uint m_aligned : 1; | - |
91 | uint m_antialiasing : 1; | - |
92 | uint m_gradient_is_opaque : 1; | - |
93 | uint m_dirty_geometry : 1; | - |
94 | uint m_gradient_is_vertical : 1; | - |
95 | | - |
96 | QSGGeometry m_geometry; | - |
97 | }; | - |
98 | | - |
99 | QT_END_NAMESPACE | - |
100 | | - |
101 | #endif | - |
| | |