Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | class QSGSoftwareInternalRectangleNode : public QSGInternalRectangleNode | - |
6 | { | - |
7 | public: | - |
8 | QSGSoftwareInternalRectangleNode(); | - |
9 | | - |
10 | void setRect(const QRectF &rect) override; | - |
11 | void setColor(const QColor &color) override; | - |
12 | void setPenColor(const QColor &color) override; | - |
13 | void setPenWidth(qreal width) override; | - |
14 | void setGradientStops(const QGradientStops &stops) override; | - |
15 | void setGradientVertical(bool vertical) override; | - |
16 | void setRadius(qreal radius) override; | - |
17 | void setAntialiasing(bool antialiasing) override { (void)antialiasing; } never executed: end of block | 0 |
18 | void setAligned(bool aligned) override; | - |
19 | | - |
20 | void update() override; | - |
21 | | - |
22 | void paint(QPainter *); | - |
23 | | - |
24 | bool isOpaque() const; | - |
25 | QRectF rect() const; | - |
26 | private: | - |
27 | void paintRectangle(QPainter *painter, const QRect &rect); | - |
28 | void generateCornerPixmap(); | - |
29 | | - |
30 | QRect m_rect; | - |
31 | QColor m_color; | - |
32 | QColor m_penColor; | - |
33 | double m_penWidth; | - |
34 | QGradientStops m_stops; | - |
35 | double m_radius; | - |
36 | QPen m_pen; | - |
37 | QBrush m_brush; | - |
38 | bool m_vertical; | - |
39 | | - |
40 | bool m_cornerPixmapIsDirty; | - |
41 | QPixmap m_cornerPixmap; | - |
42 | | - |
43 | qreal m_devicePixelRatio; | - |
44 | }; | - |
45 | | - |
46 | | - |
| | |