31 lines
796 B
C
31 lines
796 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 "QskArcMetrics.h"
|
||
|
#include "QskGradient.h"
|
||
|
#include "QskPaintedNode.h"
|
||
|
|
||
|
class QSK_EXPORT QskArcNode : public QskPaintedNode
|
||
|
{
|
||
|
public:
|
||
|
QskArcNode();
|
||
|
~QskArcNode() override;
|
||
|
|
||
|
void setArcData( const QRectF&, const QskArcMetrics&, const QskGradient&,
|
||
|
QQuickWindow* );
|
||
|
|
||
|
void paint( QPainter* painter, const QSizeF& size ) override;
|
||
|
uint hash() const override;
|
||
|
|
||
|
private:
|
||
|
QskArcMetrics m_metrics;
|
||
|
QskGradient m_gradient;
|
||
|
};
|
||
|
|
||
|
#endif
|