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

函数

float YGRoundValueToPixelGrid (const double value, const double pointScaleFactor, const bool forceCeil, const bool forceFloor)
 

函数说明

◆ YGRoundValueToPixelGrid()

float YGRoundValueToPixelGrid ( double value,
double pointScaleFactor,
bool forceCeil,
bool forceFloor )

Rounds a point value to the nearest whole pixel, given a pointScaleFactor describing pixel density.

返回
the rounded value in points
函数调用图:
这是这个函数的调用关系图: