Packages
sdl2
SDL
Video
Display
get_bounds
get_closest_mode
get_current_mode
get_desktop_mode
get_dpi
get_mode
get_name
get_usable_bounds
num_modes
Display
Object Hierarchy:
SDL.Video.Display
SDL.Video.Display
SDL.Video.Display
int
int
int->SDL.Video.Display
Description:
[
CCode
( cname =
"int"
, has_type_id =
false
) ]
[
SimpleType
]
[
IntegerType
( rank =
6
) ]
public
struct
Display
:
int
Namespace:
SDL.Video
Package:
sdl2
Content:
Methods:
public
int
get_bounds
(
out
Rect
rect)
public
DisplayMode
?
get_closest_mode
(
DisplayMode
mode,
out
DisplayMode
closest)
public
int
get_current_mode
(
out
DisplayMode
mode)
public
int
get_desktop_mode
(
out
DisplayMode
mode)
public
int
get_dpi
(
out
float
ddpi,
out
float
hdpi,
out
float
vdpi)
public
int
get_mode
(
int
mode_index,
out
DisplayMode
mode)
public
unowned
string
?
get_name
()
public
int
get_usable_bounds
(
out
Rect
rect)
public
int
num_modes
()
Inherited Members:
All known members inherited from struct int
MAX
MIN
abs
clamp
from_big_endian
from_little_endian
from_pointer
max
min
parse
to_big_endian
to_little_endian
to_pointer
to_string
try_parse