! recalculates the outer bounds and the shape of the curve. */
| 575 | recalculates the outer bounds and the shape of the curve. |
| 576 | */ |
| 577 | void QQPlotPrivate::recalcShapeAndBoundingRect() { |
| 578 | if (suppressRecalc) |
| 579 | return; |
| 580 | |
| 581 | prepareGeometryChange(); |
| 582 | m_shape = QPainterPath(); |
| 583 | m_shape.addPath(referenceCurve->graphicsItem()->shape()); |
| 584 | m_shape.addPath(percentilesCurve->graphicsItem()->shape()); |
| 585 | |
| 586 | m_boundingRectangle = m_shape.boundingRect(); |
| 587 | } |
| 588 | |
| 589 | // ############################################################################## |
| 590 | // ################## Serialization/Deserialization ########################### |
no test coverage detected