12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #pragma once
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- #include <windows.h>
- int GetDPIX();
- int GetDPIY();
- int ScaleX(int x);
- int ScaleY(int y);
- int UnscaleX(int x);
- int UnscaleY(int y);
- int _ScaledSystemMetricX(int nIndex);
- int _ScaledSystemMetricY(int nIndex);
- int ScaledScreenWidth();
- int ScaledScreenHeight();
- void ScaleRect(__inout RECT *pRect);
- BOOL IsResolutionAtLeast(int cxMin, int cyMin);
- int PointsToPixels(int pt);
- #ifdef __cplusplus
- }
- #endif
|