QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskGraphicNode.h
1/******************************************************************************
2 * QSkinny - Copyright (C) The authors
3 * SPDX-License-Identifier: BSD-3-Clause
4 *****************************************************************************/
5
6#ifndef QSK_GRAPHIC_NODE_H
7#define QSK_GRAPHIC_NODE_H
8
9#include "QskPaintedNode.h"
10
11class QskGraphic;
12class QskColorFilter;
13
14class QSK_EXPORT QskGraphicNode : public QskPaintedNode
15{
16 public:
18 ~QskGraphicNode() override;
19
20 void setGraphic( QQuickWindow*, const QskGraphic&,
21 const QskColorFilter&, const QRectF& );
22
23 private:
24 virtual void paint( QPainter*, const QSize&, const void* nodeData ) override;
25 virtual QskHashValue hash( const void* nodeData ) const override;
26};
27
28#endif
A paint device for scalable graphics.
Definition QskGraphic.h:28