56 #include <QPainterPath>
58 #ifdef Q_COMPILER_RVALUE_REFS
63 { std::swap(d, path.d); }
103 if (not
d->m_points.isEmpty())
105 path.addPolygon(QPolygonF(
d->m_points));
106 path.setFillRule(Qt::WindingFill);
120 d->m_points = points;
126 return d->m_penStyle;
132 d->m_penStyle = penStyle;
QPainterPath GetPainterPath() const
void Swap(VLayoutPiecePath &path) Q_DECL_NOTHROW
QVector< QPointF > Points() const
void SetPenStyle(const Qt::PenStyle &penStyle)
void SetPoints(const QVector< QPointF > &points)
void SetCutPath(bool cut)
Qt::PenStyle PenStyle() const
QSharedDataPointer< VLayoutPiecePathData > d
VLayoutPiecePath & operator=(const VLayoutPiecePath &path)
virtual ~VLayoutPiecePath()