2024-02-02 15:44:23 -08:00
|
|
|
/*
|
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <filesystem>
|
|
|
|
|
|
|
|
#include <yoga/Yoga.h>
|
|
|
|
|
|
|
|
namespace facebook::yoga {
|
|
|
|
|
2024-02-09 16:44:32 -08:00
|
|
|
void YGNodeCalculateLayoutWithCapture(
|
|
|
|
YGNodeRef node,
|
|
|
|
float availableWidth,
|
|
|
|
float availableHeight,
|
|
|
|
YGDirection ownerDirection,
|
|
|
|
const std::filesystem::path& path);
|
2024-02-02 15:44:23 -08:00
|
|
|
|
|
|
|
} // namespace facebook::yoga
|