SDL3 module

SDL_SetWindowAspectRatio

procedureforeignextension6 overloadsSource
SDL_SetWindowAspectRatio :: (
    window: *SDL_Window,
    min_aspect: float32,
    max_aspect: float32
) -> bool #foreign

Parameters

window: *SDL_Window
min_aspect: float32
max_aspect: float32

Returns

bool
SDL_SetWindowAspectRatio :: (
    window: *SDL_Window,
    min_aspect: float32,
    max_aspect: float32
) -> bool #foreign

Parameters

window: *SDL_Window
min_aspect: float32
max_aspect: float32

Returns

bool
SDL_SetWindowAspectRatio :: (
    window: *SDL_Window,
    min_aspect: float32,
    max_aspect: float32
) -> bool #foreign

Parameters

window: *SDL_Window
min_aspect: float32
max_aspect: float32

Returns

bool
SDL_SetWindowAspectRatio :: (
    window: *SDL_Window,
    min_aspect: float32,
    max_aspect: float32
) -> bool #foreign

Parameters

window: *SDL_Window
min_aspect: float32
max_aspect: float32

Returns

bool
SDL_SetWindowAspectRatio :: (
    window: *SDL_Window,
    min_aspect: float32,
    max_aspect: float32
) -> bool #foreign

Parameters

window: *SDL_Window
min_aspect: float32
max_aspect: float32

Returns

bool
SDL_SetWindowAspectRatio :: (
    window: *SDL_Window,
    min_aspect: float32,
    max_aspect: float32
) -> bool #foreign

Parameters

window: *SDL_Window
min_aspect: float32
max_aspect: float32

Returns

bool

See also