! recalculates the outer bounds and the shape of the curve. */
| 386 | recalculates the outer bounds and the shape of the curve. |
| 387 | */ |
| 388 | void RunChartPrivate::recalcShapeAndBoundingRect() { |
| 389 | if (suppressRecalc) |
| 390 | return; |
| 391 | |
| 392 | prepareGeometryChange(); |
| 393 | m_shape = QPainterPath(); |
| 394 | m_shape.addPath(dataCurve->graphicsItem()->shape()); |
| 395 | m_shape.addPath(centerCurve->graphicsItem()->shape()); |
| 396 | |
| 397 | m_boundingRectangle = m_shape.boundingRect(); |
| 398 | } |
| 399 | |
| 400 | // ############################################################################## |
| 401 | // ################## Serialization/Deserialization ########################### |
no test coverage detected