MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getBoundsOriginPoint

Method getBoundsOriginPoint

valdi/src/valdi/runtime/Context/ViewNode.cpp:1347–1353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1345}
1346
1347void ViewNode::setCalculatedViewportNeedsUpdate() {
1348 if (!_flags[kCalculatedViewportNeedsUpdateFlag]) {
1349 _flags[kCalculatedViewportNeedsUpdateFlag] = true;
1350
1351 auto parent = getParent();
1352 if (parent != nullptr) {
1353 parent->setCalculatedViewportHasChildNeedsUpdate();
1354 } else {
1355 scheduleUpdates();
1356 }

Callers 2

TESTFunction · 0.80
getViewNodePointMethod · 0.80

Calls 2

PointClass · 0.50

Tested by 1

TESTFunction · 0.64