MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / calcNodesBoundingRect

Method calcNodesBoundingRect

Gui/NodeGraphPrivate.cpp:173–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173QRectF
174NodeGraphPrivate::calcNodesBoundingRect()
175{
176 QRectF ret;
177 QMutexLocker l(&_nodesMutex);
178
179 for (NodesGuiList::iterator it = _nodes.begin(); it != _nodes.end(); ++it) {
180 if ( (*it)->isVisible() ) {
181 ret = ret.united( (*it)->boundingRectWithEdges() );
182 }
183 }
184
185 return ret;
186}
187
188void
189NodeGraphPrivate::resetAllClipboards()

Callers 2

isNearbyNavigatorMethod · 0.80

Calls 4

boundingRectWithEdgesMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
isVisibleMethod · 0.45

Tested by

no test coverage detected