QskStrokeNode::updatePath + methods without implementation removed
This commit is contained in:
parent
d52542c79b
commit
f898746019
|
@ -221,7 +221,7 @@ void ShapeItem::updateNode( QSGNode* parentNode )
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto transform = ::transformForRects( pathRect, rect );
|
const auto transform = ::transformForRects( pathRect, rect );
|
||||||
borderNode->updateNode( m_data->path, transform, pen );
|
borderNode->updatePath( m_data->path, transform, pen );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -38,12 +38,12 @@ QskStrokeNode::QskStrokeNode()
|
||||||
|
|
||||||
QskStrokeNode::~QskStrokeNode() = default;
|
QskStrokeNode::~QskStrokeNode() = default;
|
||||||
|
|
||||||
void QskStrokeNode::updateNode( const QPainterPath& path, const QPen& pen )
|
void QskStrokeNode::updatePath( const QPainterPath& path, const QPen& pen )
|
||||||
{
|
{
|
||||||
updateNode( path, QTransform(), pen );
|
updatePath( path, QTransform(), pen );
|
||||||
}
|
}
|
||||||
|
|
||||||
void QskStrokeNode::updateNode(
|
void QskStrokeNode::updatePath(
|
||||||
const QPainterPath& path, const QTransform& transform, const QPen& pen )
|
const QPainterPath& path, const QTransform& transform, const QPen& pen )
|
||||||
{
|
{
|
||||||
if ( path.isEmpty() || !qskIsPenVisible( pen ) )
|
if ( path.isEmpty() || !qskIsPenVisible( pen ) )
|
||||||
|
|
|
@ -21,12 +21,8 @@ class QSK_EXPORT QskStrokeNode : public QskFillNode
|
||||||
QskStrokeNode();
|
QskStrokeNode();
|
||||||
~QskStrokeNode() override;
|
~QskStrokeNode() override;
|
||||||
|
|
||||||
void updateNode( const QPainterPath&, const QPen& );
|
void updatePath( const QPainterPath&, const QPen& );
|
||||||
void updateNode( const QPainterPath&, const QTransform&, const QPen& );
|
void updatePath( 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
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue