0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +03:00

ShapeItem has been fixed

This commit is contained in:
Arin Alexander 2019-06-27 23:23:05 +03:00
parent 69369e3b0c
commit 71256ccef6

View File

@ -83,6 +83,7 @@ void ShapeItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
QPen pen(m_shapeColor);
pen.setWidthF(m_lineWidth);
pen.setStyle(m_penStyle);
pen.setJoinStyle(Qt::MiterJoin);
painter->setPen(pen);
QBrush brush(m_shapeBrushColor,m_shapeBrushType);
brush.setTransform(painter->worldTransform().inverted());