MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / ~QCPItemAnchor

Method ~QCPItemAnchor

3rdparty/qcustomplot/qcustomplot.cpp:12050–12063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12048}
12049
12050QCPItemAnchor::~QCPItemAnchor()
12051{
12052 // unregister as parent at children:
12053 foreach (QCPItemPosition *child, mChildrenX.values())
12054 {
12055 if (child->parentAnchorX() == this)
12056 child->setParentAnchorX(nullptr); // this acts back on this anchor and child removes itself from mChildrenX
12057 }
12058 foreach (QCPItemPosition *child, mChildrenY.values())
12059 {
12060 if (child->parentAnchorY() == this)
12061 child->setParentAnchorY(nullptr); // this acts back on this anchor and child removes itself from mChildrenY
12062 }
12063}
12064
12065/*!
12066 Returns the final absolute pixel position of the QCPItemAnchor on the QCustomPlot surface.

Callers

nothing calls this directly

Calls 3

setParentAnchorXMethod · 0.80
setParentAnchorYMethod · 0.80
foreachFunction · 0.70

Tested by

no test coverage detected