(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_IsShapedWindow

Return whether the given window is a shaped window.

Header File

Defined in SDL_shape.h

Syntax

SDL_bool SDL_IsShapedWindow(const SDL_Window *window);

Function Parameters

window The window to query for being shaped.

Return Value

Return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL.

Version

This function is available since SDL 2.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryShape