|
slot 0.0.1
A real time UI render framework
|
函数 | |
| float | YGRoundValueToPixelGrid (const double value, const double pointScaleFactor, const bool forceCeil, const bool forceFloor) |
| 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.