qskinny/src/nodes/QskShapeNode.h

34 lines
812 B
C
Raw Normal View History

/******************************************************************************
* 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>
class QGradient;
class QColor;
class QPainterPath;
class QskShapeNodePrivate;
2022-09-26 17:49:47 +02:00
class QSK_EXPORT QskShapeNode : public QSGGeometryNode
{
public:
QskShapeNode();
void updateNode( const QPainterPath&, const QTransform&,
const QRectF&, const QGradient*, qreal = 0.0 );
void updateNode( const QPainterPath&,
const QTransform&, const QColor& );
private:
Q_DECLARE_PRIVATE( QskShapeNode )
};
#endif