示例#1
0
文件: Native.cs 项目: zintus/yoga
 public static extern void YGNodeStyleSetPaddingPercent(YGNodeHandle node, YogaEdge edge, float padding);
 public static extern YogaJustify YGNodeStyleGetJustifyContent(YGNodeHandle node);
 public static extern YogaAlign YGNodeStyleGetAlignContent(YGNodeHandle node);
 public static extern void YGNodeStyleSetDirection(YGNodeHandle node, YogaDirection direction);
 public static extern YogaFlexDirection YGNodeStyleGetFlexDirection(YGNodeHandle node);
 public static extern void YGNodeSetMeasureFunc(
     YGNodeHandle node,
     [MarshalAs(UnmanagedType.FunctionPtr)] YogaMeasureFunc measureFunc);
 public static extern void YGNodeSetHasNewLayout(
     YGNodeHandle node,
     [MarshalAs(UnmanagedType.I1)] bool hasNewLayout);
示例#8
0
文件: Native.cs 项目: zintus/yoga
 public static extern float YGNodeLayoutGetHeight(YGNodeHandle node);
示例#9
0
文件: Native.cs 项目: zintus/yoga
 public static extern float YGNodeLayoutGetMargin(YGNodeHandle node, YogaEdge edge);
示例#10
0
文件: Native.cs 项目: zintus/yoga
 public static extern float YGNodeLayoutGetBottom(YGNodeHandle node);
示例#11
0
文件: Native.cs 项目: zintus/yoga
 public static extern float YGNodeLayoutGetWidth(YGNodeHandle node);
示例#12
0
文件: Native.cs 项目: zintus/yoga
 public static extern float YGNodeStyleGetBorder(YGNodeHandle node, YogaEdge edge);
示例#13
0
文件: Native.cs 项目: zintus/yoga
 public static extern void YGNodeStyleSetBorder(YGNodeHandle node, YogaEdge edge, float border);
示例#14
0
文件: Native.cs 项目: zintus/yoga
 public static extern YogaValueType YGNodeStyleGetPadding(YGNodeHandle node, YogaEdge edge);
 public static extern void YGNodePrint(YGNodeHandle node, YogaPrintOptions options);
示例#16
0
文件: Native.cs 项目: zintus/yoga
 public static extern float YGNodeLayoutGetPadding(YGNodeHandle node, YogaEdge edge);
 public static extern void YGNodeCopyStyle(YGNodeHandle dstNode, YGNodeHandle srcNode);
示例#18
0
文件: Native.cs 项目: zintus/yoga
 public static extern YogaDirection YGNodeLayoutGetDirection(YGNodeHandle node);
 public static extern void YGNodeSetBaselineFunc(
     YGNodeHandle node,
     [MarshalAs(UnmanagedType.FunctionPtr)] YogaBaselineFunc baselineFunc);
示例#20
0
文件: Native.cs 项目: zintus/yoga
 public static extern void YGNodeReset(YGNodeHandle node);
 public static extern bool YGNodeGetHasNewLayout(YGNodeHandle node);
示例#22
0
文件: Native.cs 项目: zintus/yoga
 public static extern void YGNodeInsertChild(
     YGNodeHandle node,
     YGNodeHandle child,
     uint index);
 public static extern void YGNodeStyleSetFlexDirection(YGNodeHandle node, YogaFlexDirection flexDirection);
示例#24
0
文件: Native.cs 项目: zintus/yoga
 public static extern void YGNodeRemoveChild(YGNodeHandle node, YGNodeHandle child);
 public static extern void YGNodeStyleSetJustifyContent(YGNodeHandle node, YogaJustify justifyContent);
示例#26
0
文件: Native.cs 项目: zintus/yoga
 public static extern void YGNodeCalculateLayout(
     YGNodeHandle node,
     float availableWidth,
     float availableHeight,
     YogaDirection parentDirection);
 public static extern void YGNodeStyleSetAlignContent(YGNodeHandle node, YogaAlign alignContent);
 public static extern bool YGNodeIsDirty(YGNodeHandle node);
 public static extern void YGNodeStyleSetAlignItems(YGNodeHandle node, YogaAlign alignItems);
示例#30
0
文件: Native.cs 项目: zintus/yoga
 public static extern YogaValueType YGNodeStyleGetMargin(YGNodeHandle node, YogaEdge edge);