neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
device_metrics.hpp File Reference

Go to the source code of this file.

Classes

class  neogfx::scoped_dpi_scale_type
 
class  neogfx::i_device_resolution
 
class  neogfx::i_device_metrics
 

Namespaces

namespace  neogfx
 

Enumerations

enum class  neogfx::dpi_scale_type { neogfx::X2 , neogfx::XN }
 

Functions

dimension neogfx::x2_dpi_scale_factor (dimension aPpi)
 
dimension neogfx::xn_dpi_scale_factor (dimension aPpi)
 
dpi_scale_typeneogfx::dpi_scale_type_for_thread ()
 

Variables

constexpr dimension neogfx::STANDARD_DPI_PPI = 96.0
 
constexpr dimension neogfx::HIGH_DPI_PPI = 144.0
 
constexpr dimension neogfx::DPI_DIVISOR = 48.0