MCPcopy Create free account
hub / github.com/KDE/labplot / recalcShapeAndBoundingRect

Method recalcShapeAndBoundingRect

src/backend/worksheet/plots/cartesian/QQPlot.cpp:577–587  ·  view source on GitHub ↗

! recalculates the outer bounds and the shape of the curve. */

Source from the content-addressed store, hash-verified

575 recalculates the outer bounds and the shape of the curve.
576 */
577void 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 ###########################

Callers 1

loadThemeConfigMethod · 0.45

Calls 3

shapeMethod · 0.45
graphicsItemMethod · 0.45
boundingRectMethod · 0.45

Tested by

no test coverage detected