Anchor the content to a side. The default is to center the content. Used in slbx_letterbox_desc.
compute viewport for 'letterboxing' fixed-aspect content in a variable-aspect framebuffer
Defines a 'safe border' in pixels. Used as nested struct in slbx_letterbox_desc.
The content letterbox description. Used as input to the slbx_letterbox() function.
The resulting viewport. Return value of slbx_letterbox()
Machine generated D bindings for Sokol library.
Source header: sokol_letterbox.h Module: sokol.letterbox
Do not edit manually; regenerate using gen_d.py.