Reference

SDL_FPoint(3type)

The structure that defines a point (using floating point values).

NAME

SDL_FPoint - The structure that defines a point (using floating point values).

HEADER FILE

Defined in SDL3/SDL_rect.h

SYNOPSIS

#include "SDL3/SDL.h"

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

AVAILABILITY

This struct is available since SDL 3.2.0.

SEE ALSO

•(3), SDL_GetRectEnclosingPointsFloat(3), •(3), SDL_PointInRectFloat(3)