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

SDL_FPoint

The structure that defines a point (floating point)

Header File

Defined in SDL_rect.h

Syntax

typedef struct SDL_FPoint
{
    float x;
    float y;
} SDL_FPoint;

See Also


CategoryAPI, CategoryAPIStruct, CategoryRect