SDL_WINDOWPOS_ISCENTERED - Man Page

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

Header File

Defined in SDL3/SDL_video.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_WINDOWPOS_ISCENTERED(X)    .BI (((X)&0xFFFF0000)==SDL_WINDOWPOS_CENTERED_MASK)

Availability

This macro is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS