2023-12-09 15:18:11 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef QSK_ARC_SHADOW_NODE_H
|
|
|
|
#define QSK_ARC_SHADOW_NODE_H
|
|
|
|
|
|
|
|
#include "QskGlobal.h"
|
|
|
|
#include <qsgnode.h>
|
|
|
|
|
|
|
|
class QskArcMetrics;
|
|
|
|
class QskShadowMetrics;
|
|
|
|
|
|
|
|
class QskArcShadowNodePrivate;
|
|
|
|
|
|
|
|
class QskArcShadowNode : public QSGGeometryNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QskArcShadowNode();
|
|
|
|
~QskArcShadowNode() override;
|
|
|
|
|
2023-12-09 18:25:07 +00:00
|
|
|
void update( const QRectF& rect, const QskArcMetrics& arcMetrics, const QColor& shadowColor,
|
|
|
|
const QskShadowMetrics& shadowMetrics, qreal borderWidth );
|
2023-12-09 15:18:11 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Q_DECLARE_PRIVATE( QskArcShadowNode )
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|