Function SDL_WINDOWPOS_ISCENTERED

pub const fn SDL_WINDOWPOS_ISCENTERED(X: i32) -> bool
Available on crate feature dep_sdl3 only.
Expand description

A macro to test if the window position is marked as “centered.”

§Parameters

  • X: the window position value.

§Availability

This macro is available since SDL 3.2.0.