slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
AbsoluteLayout.h
浏览该文件的文档.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#pragma once
9
10#include <yoga/event/event.h>
11#include <yoga/node/Node.h>
12
13namespace facebook::yoga {
14
16 const yoga::Node* containingNode,
17 const yoga::Node* node,
18 yoga::Node* child,
19 float containingBlockWidth,
20 float containingBlockHeight,
21 SizingMode widthMode,
22 Direction direction,
23 LayoutData& layoutMarkerData,
24 uint32_t depth,
25 uint32_t generationCount);
26
27// Returns if some absolute descendant has new layout
29 yoga::Node* containingNode,
30 yoga::Node* currentNode,
31 SizingMode widthSizingMode,
32 Direction currentNodeDirection,
33 LayoutData& layoutMarkerData,
34 uint32_t currentDepth,
35 uint32_t generationCount,
36 float currentNodeMainOffsetFromContainingBlock,
37 float currentNodeCrossOffsetFromContainingBlock,
38 float containingNodeAvailableInnerWidth,
39 float containingNodeAvailableInnerHeight);
40
41} // namespace facebook::yoga
Definition Benchmark.cpp:19
Direction
Definition Direction.h:18
SizingMode
Definition SizingMode.h:21
void layoutAbsoluteChild(const yoga::Node *const containingNode, const yoga::Node *const node, yoga::Node *const child, const float containingBlockWidth, const float containingBlockHeight, const SizingMode widthMode, const Direction direction, LayoutData &layoutMarkerData, const uint32_t depth, const uint32_t generationCount)
Definition AbsoluteLayout.cpp:250
bool layoutAbsoluteDescendants(yoga::Node *containingNode, yoga::Node *currentNode, SizingMode widthSizingMode, Direction currentNodeDirection, LayoutData &layoutMarkerData, uint32_t currentDepth, uint32_t generationCount, float currentNodeLeftOffsetFromContainingBlock, float currentNodeTopOffsetFromContainingBlock, float containingNodeAvailableInnerWidth, float containingNodeAvailableInnerHeight)
Definition AbsoluteLayout.cpp:454