![]() |
Ember
|
#include <wx/display.h>#include <wx/window.h>Go to the source code of this file.
Namespaces | |
| namespace | EmberUI |
| namespace | EmberUI::DPI |
| DPI scaling and screen size utilities for wxWidgets windows. | |
Functions | |
| int | EmberUI::DPI::Scale (wxWindow *win, int px) |
| Scales a pixel value from logical to physical units for the given window. | |
| wxSize | EmberUI::DPI::Scale (wxWindow *win, const wxSize &size) |
| Scales a size from logical to physical units for the given window. | |
| wxSize | EmberUI::DPI::GetScreenSize () |
| Returns the primary display size in pixels. | |
| wxSize | EmberUI::DPI::GetScreenSize (wxWindow *win) |
| Returns the screen size for the display containing the given window. | |