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

Function inlineStartEdge

third-party/yoga/src/yoga/algorithm/FlexDirection.h:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83inline PhysicalEdge inlineStartEdge(
84 FlexDirection flexDirection,
85 Direction direction) {
86 if (isRow(flexDirection)) {
87 return direction == Direction::RTL ? PhysicalEdge::Right
88 : PhysicalEdge::Left;
89 }
90
91 return PhysicalEdge::Top;
92}
93
94inline PhysicalEdge inlineEndEdge(
95 FlexDirection flexDirection,

Callers 9

computeInlineStartMarginFunction · 0.85
computeInlineStartBorderFunction · 0.85
inlineStartMarginIsAutoFunction · 0.85
positionAbsoluteChildFunction · 0.85
setPositionMethod · 0.85

Calls 1

isRowFunction · 0.85

Tested by

no test coverage detected