qskinny/src/nodes/QskBoxClipNode.h
Uwe Rathmann 6479937294 All box subcontrols are displayd with vertex lists instead of textures
now. Implementation is almost complete beside of the not yet done Qt
antialiasing mode. Not all sort of linear gradients ( see
QLinearGradients ) are implemented - needs 1-2 days more.
The aspect flags for box primitives have been substantially changed from
too atomic to more strutured units.
The skins are currently incomplete - will be fixed later.
2017-10-17 17:29:02 +02:00

32 lines
741 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_BOX_CLIP_NODE_H
#define QSK_BOX_CLIP_NODE_H
#include "QskGlobal.h"
#include <QSGClipNode>
class QskBoxShapeMetrics;
class QskBoxBorderMetrics;
class QSK_EXPORT QskBoxClipNode : public QSGClipNode
{
public:
QskBoxClipNode();
virtual ~QskBoxClipNode();
void setBox( const QRectF&,
const QskBoxShapeMetrics&, const QskBoxBorderMetrics& );
private:
uint m_hash;
QRectF m_rect;
QSGGeometry m_geometry;
};
#endif