|
void SetDPIScale(int scale)
Sets the current image (and image related) scale. Can be one of DPI_100 (FHD), DPI_150 (QHD),
DPI_200 (UHD), DPI_300.
void SyncDPIScale()
Changes the scaling based on GetStdFontCy(). Gets called automatically at the start of U++ application (in CtrlLib). Unless your application is not using CtrlCore, you should not call this one.
int GetDPIScale()
Returns current scaling .
double GetDPIScaleRatio()
Returns current scaling as number (E.g. DPI_150 -> 1.5).
double GetDPIUnScaleRatio()
Returns 1 / GetDPIScaleRatio().
int DPI(int a)
double DPI(double a)
Size DPI(int cx, int cy)
Size DPI(Size sz)
Scales argument(s) based on current scaling cooeficient (e.g. 2x for DPI_200, 1.5x for DPI_150).
|