SDL Wiki
(This is the legacy documentation for SDL2, the previous stable version; SDL3 is the current stable 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

const SDL_Window * window The window to query for being shaped.

Return Value

(SDL_bool) 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


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.