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

Method recalcShapeAndBoundingRect

src/backend/worksheet/plots/cartesian/KDEPlot.cpp:440–449  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

438 recalculates the outer bounds and the shape of the curve.
439 */
440void 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 ###########################

Callers 1

loadThemeConfigMethod · 0.45

Calls 3

shapeMethod · 0.45
graphicsItemMethod · 0.45
boundingRectMethod · 0.45

Tested by

no test coverage detected