##// END OF EJS Templates
Fix boxplot drawing artifacts with thick pen...
Miikka Heikkinen -
r2565:d442525f5441
parent child
Show More
@@ -164,6 +164,9 void BoxWhiskers::updateGeometry(AbstractDomain *domain)
164
164
165 m_boxPath = path;
165 m_boxPath = path;
166 m_boundingRect = m_boxPath.boundingRect();
166 m_boundingRect = m_boxPath.boundingRect();
167
168 qreal extra = (m_pen.width() / 2.0);
169 m_boundingRect.adjust(-extra, -extra, extra, extra);
167 }
170 }
168
171
169 #include "moc_boxwhiskers_p.cpp"
172 #include "moc_boxwhiskers_p.cpp"
General Comments 0
You need to be logged in to leave comments. Login now