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

Function YGNodeLayoutGetWidth

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

Source from the content-addressed store, hash-verified

61}
62
63float YGNodeLayoutGetWidth(const YGNodeConstRef node) {
64 return resolveRef(node)->getLayout().dimension(Dimension::Width);
65}
66
67float YGNodeLayoutGetHeight(const YGNodeConstRef node) {
68 return resolveRef(node)->getLayout().dimension(Dimension::Height);

Callers 7

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

Calls 2

dimensionMethod · 0.80
resolveRefFunction · 0.50

Tested by 6

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