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

Method getPointScale

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

Source from the content-addressed store, hash-verified

1442 return rootDirectionDependentVisual;
1443}
1444
1445Point ViewNode::getDirectionDependentTransform() const {
1446 auto directionDependentFrame = getCalculatedFrame();
1447 return Point(directionDependentFrame.x + getDirectionDependentTranslationX(),
1448 directionDependentFrame.y + getTranslationY());
1449}
1450
1451Point ViewNode::getDirectionAgnosticTransform() const {
1452 auto directionAgnosticFrame = getDirectionAgnosticFrame();

Callers 2

resolveImageSizeMethod · 0.45
ygMeasureYogaFunction · 0.45

Calls 1

getViewManagerMethod · 0.80

Tested by

no test coverage detected