OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::MonitorInfo Struct Reference

モニターの情報 More...

#include <MonitorInfo.hpp>

Public Member Functions

String format () const
 モニターの情報を文字列に変換します。 More...
 

Public Attributes

String name
 ディスプレイの名前 More...
 
String id
 ディスプレイ ID More...
 
String displayDeviceName
 内部的に使われているディスプレイの名前 More...
 
Rect displayRect = Rect::Empty()
 ディスプレイ全体の位置とサイズ More...
 
Rect workArea = Rect::Empty()
 タスクバーなどを除いた利用可能な領域の位置とサイズ More...
 
Size fullscreenResolution = Size{ 0, 0 }
 フルスクリーン時の解像度 More...
 
bool isPrimary = false
 メインディスプレイであるか More...
 
Optional< SizesizeMillimeter
 物理的なサイズ (mm) More...
 
Optional< double > scaling
 UI の拡大倍率 More...
 
Optional< double > refreshRate
 リフレッシュレート More...
 

Detailed Description

モニターの情報

Member Function Documentation

◆ format()

String s3d::MonitorInfo::format ( ) const

モニターの情報を文字列に変換します。

Returns
モニターの情報

Member Data Documentation

◆ displayDeviceName

String s3d::MonitorInfo::displayDeviceName

内部的に使われているディスプレイの名前

◆ displayRect

Rect s3d::MonitorInfo::displayRect = Rect::Empty()

ディスプレイ全体の位置とサイズ

◆ fullscreenResolution

Size s3d::MonitorInfo::fullscreenResolution = Size{ 0, 0 }

フルスクリーン時の解像度

◆ id

String s3d::MonitorInfo::id

ディスプレイ ID

◆ isPrimary

bool s3d::MonitorInfo::isPrimary = false

メインディスプレイであるか

◆ name

String s3d::MonitorInfo::name

ディスプレイの名前

◆ refreshRate

Optional<double> s3d::MonitorInfo::refreshRate

リフレッシュレート

◆ scaling

Optional<double> s3d::MonitorInfo::scaling

UI の拡大倍率

◆ sizeMillimeter

Optional<Size> s3d::MonitorInfo::sizeMillimeter

物理的なサイズ (mm)

◆ workArea

Rect s3d::MonitorInfo::workArea = Rect::Empty()

タスクバーなどを除いた利用可能な領域の位置とサイズ


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