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

Function YGNodeLayoutGetLeft

third-party/yoga/src/yoga/YGNodeLayout.cpp:47–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45} // namespace
46
47float YGNodeLayoutGetLeft(const YGNodeConstRef node) {
48 return resolveRef(node)->getLayout().position(PhysicalEdge::Left);
49}
50
51float YGNodeLayoutGetTop(const YGNodeConstRef node) {
52 return resolveRef(node)->getLayout().position(PhysicalEdge::Top);

Callers 5

dumpLayoutMethod · 0.85
TEST_FFunction · 0.85
dumpLayoutMethod · 0.85
TEST_FFunction · 0.85
getFrameMethod · 0.85

Calls 2

resolveRefFunction · 0.50
positionMethod · 0.45

Tested by 4

dumpLayoutMethod · 0.68
TEST_FFunction · 0.68
dumpLayoutMethod · 0.68
TEST_FFunction · 0.68