! recalculates the outer bounds and the shape of the curve. */
| 438 | recalculates the outer bounds and the shape of the curve. |
| 439 | */ |
| 440 | void KDEPlotPrivate::recalcShapeAndBoundingRect() { |
| 441 | if (suppressRecalc) |
| 442 | return; |
| 443 | |
| 444 | prepareGeometryChange(); |
| 445 | m_shape = QPainterPath(); |
| 446 | m_shape.addPath(estimationCurve->graphicsItem()->shape()); |
| 447 | m_shape.addPath(rugCurve->graphicsItem()->shape()); |
| 448 | m_boundingRectangle = m_shape.boundingRect(); |
| 449 | } |
| 450 | |
| 451 | // ############################################################################## |
| 452 | // ################## Serialization/Deserialization ########################### |
no test coverage detected