qskinny/src/nodes/QskStrokeNode.h

33 lines
882 B
C
Raw Normal View History

/******************************************************************************
* QSkinny - Copyright (C) 2016 Uwe Rathmann
2023-04-06 07:23:37 +00:00
* SPDX-License-Identifier: BSD-3-Clause
*****************************************************************************/
#ifndef QSK_STROKE_NODE_H
#define QSK_STROKE_NODE_H
#include "QskGlobal.h"
2023-11-15 10:47:56 +00:00
#include "QskFillNode.h"
class QPen;
class QPainterPath;
class QPolygonF;
2023-11-15 10:47:56 +00:00
class QSK_EXPORT QskStrokeNode : public QskFillNode
{
2023-11-15 10:47:56 +00:00
using Inherited = QskFillNode;
public:
QskStrokeNode();
2023-05-17 12:21:40 +00:00
~QskStrokeNode() override;
void updateNode( const QPainterPath&, const QPen& );
2022-09-29 15:26:15 +00:00
void updateNode( const QPainterPath&, const QTransform&, const QPen& );
2023-11-15 10:47:56 +00:00
void updateNode0( const QPolygonF&, qreal lineWidth, const QColor& );
void updateNode0( const QPolygonF&, const QTransform&,
qreal lineWidth, const QColor& );
};
#endif