qskinny/src/nodes/QskStrokeNode.h

33 lines
882 B
C++

/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#ifndef QSK_STROKE_NODE_H
#define QSK_STROKE_NODE_H
#include "QskGlobal.h"
#include "QskFillNode.h"
class QPen;
class QPainterPath;
class QPolygonF;
class QSK_EXPORT QskStrokeNode : public QskFillNode
{
using Inherited = QskFillNode;
public:
QskStrokeNode();
~QskStrokeNode() override;
void updateNode( const QPainterPath&, const QPen& );
void updateNode( const QPainterPath&, const QTransform&, const QPen& );
void updateNode0( const QPolygonF&, qreal lineWidth, const QColor& );
void updateNode0( const QPolygonF&, const QTransform&,
qreal lineWidth, const QColor& );
};
#endif