| 2270 | } |
| 2271 | |
| 2272 | Clay_SizingAxis Clay__GetElementSizing(Clay_LayoutElement* element, bool xAxis) { |
| 2273 | if (element->isTextElement) { |
| 2274 | return CLAY__INIT(Clay_SizingAxis) {}; |
| 2275 | } else { |
| 2276 | return xAxis ? element->config.layout.sizing.width : element->config.layout.sizing.height; |
| 2277 | } |
| 2278 | } |
| 2279 | |
| 2280 | // Writes out the location of text elements to layout elements buffer 1 |
| 2281 | void Clay__SizeContainersAlongAxis(bool xAxis, float deltaTime, Clay__int32_tArray* textElementsOut, Clay__int32_tArray* aspectRatioElementsOut) { |
no outgoing calls
no test coverage detected