qskinny/src/nodes/QskArcNode.h
Uwe Rathmann 54b55c0324 default graphic pipeline without native OpenGL calls.
code is QRHI compiant now
2022-06-02 16:02:42 +02:00

31 lines
808 B
C++

/**********************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* This file may be used under the terms of the QSkinny License, Version 1.0
*****************************************************************************/
#ifndef QSK_ARC_NODE_H
#define QSK_ARC_NODE_H
#include "QskPaintedNode.h"
class QskArcMetrics;
class QskGradient;
// should be a QSGGeometryNode, TODO ..
class QSK_EXPORT QskArcNode : public QskPaintedNode
{
public:
QskArcNode();
~QskArcNode() override;
void setArcData( const QRectF&, const QskArcMetrics&,
const QskGradient&, QQuickWindow* );
protected:
void paint( QPainter*, const QSize&, const void* nodeData ) override;
QskHashValue hash( const void* nodeData ) const override;
};
#endif