#include <cstdlib>
#include <cstring>
#include <windows.h>
#include "common/fontdata.h"
Go to the source code of this file.
|
| | Menu text with a 1024-byte internal buffer, glyph metrics, drawing style, and text-entry state. More...
|
|
| static int | ConvertMenuCoordinate (float value) |
| | Truncate a floating-point coordinate using the native signed 64-bit conversion range.
|
◆ ConvertMenuCoordinate()
| int ConvertMenuCoordinate |
( |
float | value | ) |
|
|
inlinestatic |
Truncate a floating-point coordinate using the native signed 64-bit conversion range.
- Parameters
-
| value | The coordinate in menu pixels. |
- Returns
- The converted integer's low 32 bits, or zero for NaN or an out-of-range 64-bit conversion.