slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
函数 | 变量
wasm_bridge.c 文件参考
#include <emscripten/emscripten.h>
#include <yoga/Yoga.h>
wasm_bridge.c 的引用(Include)关系图:

函数

static void writeYGValue (YGValue v)
 
EMSCRIPTEN_KEEPALIVE float * jswrap_YGValueBuffer (void)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetWidth (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetHeight (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetPosition (YGNodeConstRef node, YGEdge edge)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMargin (YGNodeConstRef node, YGEdge edge)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetPadding (YGNodeConstRef node, YGEdge edge)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetFlexBasis (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMinWidth (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMinHeight (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMaxWidth (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMaxHeight (YGNodeConstRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetGap (YGNodeConstRef node, YGGutter gutter)
 
 EM_JS (float, callMeasureFunc,(YGNodeConstRef nodePtr, float width, int widthMode, float height, int heightMode, int returnWidthOrHeight), { var fn=Module["_yogaMeasureFuncs"].get(nodePtr);if(!fn) return 0;if(!fn._cachedResult||fn._cachedWidth !==width||fn._cachedWidthMode !==widthMode||fn._cachedHeight !==height||fn._cachedHeightMode !==heightMode) { fn._cachedResult=fn(width, widthMode, height, heightMode);fn._cachedWidth=width;fn._cachedWidthMode=widthMode;fn._cachedHeight=height;fn._cachedHeightMode=heightMode;} var result=fn._cachedResult;if(returnWidthOrHeight===0) { var w=result.width;return(w===undefined||w===null) ? NaN :+w;} else { var h=result.height;return(h===undefined||h===null) ? NaN :+h;} })
 
static YGSize globalMeasureFunc (YGNodeConstRef nodeRef, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeSetMeasureFunc (YGNodeRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeUnsetMeasureFunc (YGNodeRef node)
 
 EM_JS (void, callDirtiedFunc,(YGNodeConstRef nodePtr), { var fn=Module["_yogaDirtiedFuncs"].get(nodePtr);if(fn) fn();})
 
static void globalDirtiedFunc (YGNodeConstRef nodeRef)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeSetDirtiedFunc (YGNodeRef node)
 
EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeUnsetDirtiedFunc (YGNodeRef node)
 

变量

static float ygvalue_buf [2]
 

函数说明

◆ EM_JS() [1/2]

EM_JS ( float ,
callMeasureFunc ,
(YGNodeConstRef nodePtr, float width, int widthMode, float height, int heightMode, int returnWidthOrHeight) ,
{ var fn=Module["_yogaMeasureFuncs"].get(nodePtr);if(!fn) return 0;if(!fn._cachedResult||fn._cachedWidth !==width||fn._cachedWidthMode !==widthMode||fn._cachedHeight !==height||fn._cachedHeightMode !==heightMode) { fn._cachedResult=fn(width, widthMode, height, heightMode);fn._cachedWidth=width;fn._cachedWidthMode=widthMode;fn._cachedHeight=height;fn._cachedHeightMode=heightMode;} var result=fn._cachedResult;if(returnWidthOrHeight===0) { var w=result.width;return(w===undefined||w===null) ? NaN :+w;} else { var h=result.height;return(h===undefined||h===null) ? NaN :+h;} }  )

◆ EM_JS() [2/2]

EM_JS ( void ,
callDirtiedFunc ,
(YGNodeConstRef nodePtr) ,
{ var fn=Module["_yogaDirtiedFuncs"].get(nodePtr);if(fn) fn();}  )

◆ globalDirtiedFunc()

static void globalDirtiedFunc ( YGNodeConstRef nodeRef)
static
这是这个函数的调用关系图:

◆ globalMeasureFunc()

static YGSize globalMeasureFunc ( YGNodeConstRef nodeRef,
float width,
YGMeasureMode widthMode,
float height,
YGMeasureMode heightMode )
static
这是这个函数的调用关系图:

◆ jswrap_YGNodeSetDirtiedFunc()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeSetDirtiedFunc ( YGNodeRef node)
函数调用图:

◆ jswrap_YGNodeSetMeasureFunc()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeSetMeasureFunc ( YGNodeRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetFlexBasis()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetFlexBasis ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetGap()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetGap ( YGNodeConstRef node,
YGGutter gutter )
函数调用图:

◆ jswrap_YGNodeStyleGetHeight()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetHeight ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetMargin()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMargin ( YGNodeConstRef node,
YGEdge edge )
函数调用图:

◆ jswrap_YGNodeStyleGetMaxHeight()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMaxHeight ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetMaxWidth()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMaxWidth ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetMinHeight()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMinHeight ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetMinWidth()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetMinWidth ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeStyleGetPadding()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetPadding ( YGNodeConstRef node,
YGEdge edge )
函数调用图:

◆ jswrap_YGNodeStyleGetPosition()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetPosition ( YGNodeConstRef node,
YGEdge edge )
函数调用图:

◆ jswrap_YGNodeStyleGetWidth()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeStyleGetWidth ( YGNodeConstRef node)
函数调用图:

◆ jswrap_YGNodeUnsetDirtiedFunc()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeUnsetDirtiedFunc ( YGNodeRef node)
函数调用图:

◆ jswrap_YGNodeUnsetMeasureFunc()

EMSCRIPTEN_KEEPALIVE void jswrap_YGNodeUnsetMeasureFunc ( YGNodeRef node)
函数调用图:

◆ jswrap_YGValueBuffer()

EMSCRIPTEN_KEEPALIVE float * jswrap_YGValueBuffer ( void )

◆ writeYGValue()

static void writeYGValue ( YGValue v)
static
这是这个函数的调用关系图:

变量说明

◆ ygvalue_buf

float ygvalue_buf[2]
static