You.i Engine
CYIScreen Class Reference

#include <framework/YiScreen.h>

Public Member Functions

 CYIScreen (int32_t nScreenSizeX, int32_t nScreenSizeY, int32_t nScreenDensityX, int32_t nScreenDensityY)
 
 CYIScreen (const YI_SCREEN_INFO &rConfig)
 
int32_t GetXDensity () const
 
int32_t GetYDensity () const
 
float GetWidthInches () const
 
float GetHeightInches () const
 
float GetDiagonalSizeInches () const
 
int32_t GetWidthPixels () const
 
int32_t GetHeightPixels () const
 

Constructor & Destructor Documentation

CYIScreen::CYIScreen ( int32_t  nScreenSizeX,
int32_t  nScreenSizeY,
int32_t  nScreenDensityX,
int32_t  nScreenDensityY 
)
CYIScreen::CYIScreen ( const YI_SCREEN_INFO rConfig)

Member Function Documentation

float CYIScreen::GetDiagonalSizeInches ( ) const

The diagonal size of the display in inches.

float CYIScreen::GetHeightInches ( ) const

The height of the display in inches.

int32_t CYIScreen::GetHeightPixels ( ) const

The height of the display in pixels.

float CYIScreen::GetWidthInches ( ) const

The width of the display in inches.

int32_t CYIScreen::GetWidthPixels ( ) const

The width of the display in pixels.

int32_t CYIScreen::GetXDensity ( ) const

Display X density in DPI.

int32_t CYIScreen::GetYDensity ( ) const

Display Y density in DPI.


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