HiDPI settings derived from the native window/display scale.
More...
#include "donner/editor/gui/EditorWindow.h"
|
| float | scaledPixels (double basePixels) const |
| | Scale a logical UI dimension using the configured display scale.
|
|
float | fontGlobalScale () const |
| | Return the global font scale used with the configured font rasterization size.
|
|
|
double | displayScale = 1.0 |
| | Display scaling factor applied to logical UI sizing.
|
HiDPI settings derived from the native window/display scale.
◆ scaledPixels()
| float donner::editor::gui::UiScaleConfig::scaledPixels |
( |
double | basePixels | ) |
const |
|
inlinenodiscard |
Scale a logical UI dimension using the configured display scale.
- Parameters
-
| basePixels | Unscaled logical dimension. |
The documentation for this struct was generated from the following file: