|
slot 0.0.1
A real time UI render framework
|
#include "TestUtil.h"#include <yoga/YGEnums.h>#include <yoga/YGNode.h>#include <yoga/event/event.h>#include <yoga/node/Node.h>#include <iostream>#include <sstream>#include <string>#include <string_view>
命名空间 | |
| namespace | |
| namespace | facebook::yoga |
| namespace | facebook::yoga::test |
函数 | |
| YGSize | facebook::yoga::test::IntrinsicSizeMeasure (YGNodeConstRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) |
| float | facebook::yoga::test::longestWordWidth (std::string_view text, float widthPerChar) |
| float | facebook::yoga::test::calculateHeight (std::string_view text, float measuredWidth, float widthPerChar, float heightPerChar) |
变量 | |
| int | facebook::yoga::test::nodeInstanceCount = 0 |