logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_WINDOWPOS_ISCENTERED - A macro to test if the window position is marked as "centered."

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                        SDL_WINDOWPOS_ISCENTERED(3)

Macro Parameters

X      the window position value.

Name

       SDL_WINDOWPOS_ISCENTERED - A macro to test if the window position is marked as "centered."

Synopsis

#include<SDL3/SDL_video.h>#defineSDL_WINDOWPOS_ISCENTERED(X)\(((X)&0xFFFF0000)==SDL_WINDOWPOS_CENTERED_MASK)

See Also