neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::display Class Reference

#include <display.hpp>

Inheritance diagram for neogfx::display:
neogfx::i_device_metrics neogfx::i_device_resolution

Public Member Functions

 display (uint32_t aIndex, const neogfx::rect &aRect, const neogfx::rect &aDesktopRect)
 
 ~display ()
 
bool device_metrics_available () const override
 
const i_device_metricsdevice_metrics () const override
 
uint32_t index () const override
 
const i_device_metricsmetrics () const override
 
neogfx::rect rect () const override
 
neogfx::rect desktop_rect () const override
 
window_placement default_window_placement () const override
 
neogfx::subpixel_format subpixel_format () const override
 
bool metrics_available () const override
 
size extents () const override
 
dimension horizontal_dpi () const override
 
dimension vertical_dpi () const override
 
dimension ppi () const override
 
dimension em_size () const override
 

Protected Attributes

neogfx::size iPixelDensityDpi
 
neogfx::subpixel_format iSubpixelFormat
 

Detailed Description

Definition at line 30 of file display.hpp.

Constructor & Destructor Documentation

◆ display()

neogfx::display::display ( uint32_t  aIndex,
const neogfx::rect aRect,
const neogfx::rect aDesktopRect 
)

◆ ~display()

neogfx::display::~display ( )

Member Function Documentation

◆ default_window_placement()

window_placement neogfx::display::default_window_placement ( ) const
override

◆ desktop_rect()

neogfx::rect neogfx::display::desktop_rect ( ) const
override

◆ device_metrics()

const i_device_metrics & neogfx::display::device_metrics ( ) const
override

◆ device_metrics_available()

bool neogfx::display::device_metrics_available ( ) const
override

◆ em_size()

dimension neogfx::display::em_size ( ) const
overridevirtual

◆ extents()

size neogfx::display::extents ( ) const
overridevirtual

◆ horizontal_dpi()

dimension neogfx::display::horizontal_dpi ( ) const
overridevirtual

◆ index()

uint32_t neogfx::display::index ( ) const
override

◆ metrics()

const i_device_metrics & neogfx::display::metrics ( ) const
override

◆ metrics_available()

bool neogfx::display::metrics_available ( ) const
overridevirtual

◆ ppi()

dimension neogfx::display::ppi ( ) const
overridevirtual

◆ rect()

neogfx::rect neogfx::display::rect ( ) const
override

◆ subpixel_format()

neogfx::subpixel_format neogfx::display::subpixel_format ( ) const
override

◆ vertical_dpi()

dimension neogfx::display::vertical_dpi ( ) const
overridevirtual

Member Data Documentation

◆ iPixelDensityDpi

neogfx::size neogfx::display::iPixelDensityDpi
protected

Definition at line 60 of file display.hpp.

◆ iSubpixelFormat

neogfx::subpixel_format neogfx::display::iSubpixelFormat
protected

Definition at line 61 of file display.hpp.


The documentation for this class was generated from the following file: