2022-09-26 14:44:23 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* QSkinny - Copyright (C) 2016 Uwe Rathmann
|
|
|
|
* This file may be used under the terms of the QSkinny License, Version 1.0
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef QSK_SHAPE_NODE_H
|
|
|
|
#define QSK_SHAPE_NODE_H
|
|
|
|
|
|
|
|
#include "QskGlobal.h"
|
|
|
|
#include <qsgnode.h>
|
|
|
|
|
2022-10-31 14:42:08 +01:00
|
|
|
class QskGradient;
|
2022-09-26 14:44:23 +02:00
|
|
|
class QColor;
|
|
|
|
class QPainterPath;
|
|
|
|
|
|
|
|
class QskShapeNodePrivate;
|
|
|
|
|
2022-09-26 17:49:47 +02:00
|
|
|
class QSK_EXPORT QskShapeNode : public QSGGeometryNode
|
2022-09-26 14:44:23 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
QskShapeNode();
|
|
|
|
|
2022-10-13 19:39:57 +02:00
|
|
|
void updateNode( const QPainterPath&, const QTransform&,
|
2022-10-31 14:42:08 +01:00
|
|
|
const QRectF&, const QskGradient& );
|
2022-10-13 19:39:57 +02:00
|
|
|
|
2022-09-26 14:44:23 +02:00
|
|
|
private:
|
|
|
|
Q_DECLARE_PRIVATE( QskShapeNode )
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|