Reference for .Net version of SpaceVIL  0.3.5.8
SpaceVIL (Space of Visual Items Layout) is a cross-platform and multilingual framework for creating GUI client applications for .NET Standard, .NET Core and JVM. SpaceVIL is based on OpenGL graphic technology and GLFW. Using this framework in conjunction with .Net Core or with a JVM, you can work and create graphical client applications on Linux, Mac OS X and Windows.
SpaceVIL.Common.DisplayService Class Reference

DisplayService is static class providing methods to getting display attributes such as size and dpi scale. More...

Static Public Member Functions

static int GetDisplayWidth ()
 Getting the current display width. More...
 
static int GetDisplayHeight ()
 Getting the current display height. More...
 
static Scale GetDisplayDpiScale ()
 Getting the current display scale. More...
 
static Scale GetWindowDpiScale (CoreWindow window)
 Getting the current window scale. More...
 

Detailed Description

DisplayService is static class providing methods to getting display attributes such as size and dpi scale.

Member Function Documentation

◆ GetDisplayDpiScale()

static Scale SpaceVIL.Common.DisplayService.GetDisplayDpiScale ( )
static

Getting the current display scale.

Returns
The current display scale as SpaceVIL.Core.Scale.

◆ GetDisplayHeight()

static int SpaceVIL.Common.DisplayService.GetDisplayHeight ( )
static

Getting the current display height.

Returns
The current display height as System.Int32.

◆ GetDisplayWidth()

static int SpaceVIL.Common.DisplayService.GetDisplayWidth ( )
static

Getting the current display width.

Returns
The current display width as System.Int32.

◆ GetWindowDpiScale()

static Scale SpaceVIL.Common.DisplayService.GetWindowDpiScale ( CoreWindow  window)
static

Getting the current window scale.

Parameters
windowA window as SpaceVIL.CoreWindow.
Returns
The current window scale as SpaceVIL.Core.Scale.

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