###### (This is the legacy documentation for SDL2, the previous stable version; [SDL3](https://wiki.libsdl.org/SDL3/) is the current stable version.) # SDL_Point The structure that defines a point (integer) ## Header File Defined in [SDL_rect.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_rect.h) ## Syntax ```c typedef struct SDL_Point { int x; int y; } SDL_Point; ``` ## See Also - [SDL_EnclosePoints](SDL_EnclosePoints) - [SDL_PointInRect](SDL_PointInRect) ---- [CategoryAPI](CategoryAPI), [CategoryAPIStruct](CategoryAPIStruct), [CategoryRect](CategoryRect)