SDL Wiki
(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](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_rect.h)

Syntax

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

See Also

SDL_EncloseFPoints
SDL_PointInFRect

Data Fields

float

x

the x coordinate of the point

float

y

the y coordinate of the point

SDL_Vertex
SDL_FRect
SDL_Point

CategoryAPI, CategoryAPIStruct, CategoryStruct, CategoryRect


[ 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.