slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
YGPixelGrid.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 <stdbool.h>
11
12#include <yoga/YGConfig.h>
13#include <yoga/YGEnums.h>
14#include <yoga/YGMacros.h>
15
17
24 double value,
25 double pointScaleFactor,
26 bool forceCeil,
27 bool forceFloor);
28
#define YG_EXTERN_C_END
Definition YGMacros.h:19
#define YG_EXTERN_C_BEGIN
Definition YGMacros.h:18
#define YG_EXPORT
Definition YGMacros.h:35
YG_EXTERN_C_BEGIN YG_EXPORT float YGRoundValueToPixelGrid(double value, double pointScaleFactor, bool forceCeil, bool forceFloor)
Definition YGPixelGrid.cpp:15