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

Function YGNodeStyleSetPosition

third-party/yoga/src/yoga/YGNodeStyle.cpp:233–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void YGNodeStyleSetPosition(YGNodeRef node, YGEdge edge, float points) {
234 updateStyle<&Style::position, &Style::setPosition>(
235 node, scopedEnum(edge), StyleLength::points(points));
236}
237
238void YGNodeStyleSetPositionPercent(YGNodeRef node, YGEdge edge, float percent) {
239 updateStyle<&Style::position, &Style::setPosition>(

Callers 6

buildTabBarMethod · 0.85
TEST_FFunction · 0.85
buildCarouselMethod · 0.85
buildAboveKeyboardMethod · 0.85
buildLayoutMethod · 0.85
buildFullHierarchyMethod · 0.85

Calls 1

scopedEnumFunction · 0.50

Tested by 6

buildTabBarMethod · 0.68
TEST_FFunction · 0.68
buildCarouselMethod · 0.68
buildAboveKeyboardMethod · 0.68
buildLayoutMethod · 0.68
buildFullHierarchyMethod · 0.68