![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <StkScreen.h>
Public Member Functions | |
Screen (float pixelResolutionScale) | |
void | setPixelResolutionScale (float s) |
float | getPixelResolutionScale () const |
Get resolution scaling factor for HiDPI displays. | |
bool | isHiDPI () const |
bool | changed (long generation) const |
long | getGeneration () const |
Screen - Represents a screen device on a computer. Currently only handles DPI scaling.
|
inline |
Check if the screen parameters have changed since the given generation.
|
inline |
Set scaling factor for HiDPI displays. This scale can be used to increase resolution of fixed pixel size values, such as font size, line thickness etc.