QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskArcRenderNode.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_ARC_RENDER_NODE_H
7#define QSK_ARC_RENDER_NODE_H
8
9#include "QskGlobal.h"
10#include "QskFillNode.h"
11
12class QskGradient;
13class QskArcMetrics;
14
15class QskArcRenderNodePrivate;
16
17class QSK_EXPORT QskArcRenderNode : public QskFillNode
18{
19 using Inherited = QskFillNode;
20
21 public:
23 ~QskArcRenderNode() override;
24
25 void updateFilling( const QRectF&, const QskArcMetrics&, const QskGradient& );
26 void updateFilling( const QRectF&, const QskArcMetrics&, bool radial,
27 qreal borderWidth, const QskGradient& );
28
29 void updateBorder( const QRectF&, const QskArcMetrics&, bool radial,
30 qreal borderWidth, const QColor& borderColor );
31
32 void updateArc( const QRectF&, const QskArcMetrics&, bool radial,
33 qreal borderWidth, const QColor& borderColor, const QskGradient& );
34
35 private:
36 Q_DECLARE_PRIVATE( QskArcRenderNode )
37};
38
39#endif