sokol-d ~master (2026-11-25T19:43:58.4305504)
Dub
Repo
Viewport
sokol
letterbox
The resulting viewport. Return value of slbx_letterbox()
extern (
C
)
struct
Viewport {
int
x
;
int
y
;
int
width
;
int
height
;
}
Members
Variables
height
int
height
;
Undocumented in source.
width
int
width
;
Undocumented in source.
x
int
x
;
Undocumented in source.
y
int
y
;
Undocumented in source.
Meta
Source
See Implementation
sokol
letterbox
enums
Anchor
functions
letterbox
slbx_letterbox
structs
Border
LetterboxDesc
Viewport
The resulting viewport. Return value of slbx_letterbox()