|
SDL 3.0
|
#include <SDL_rect.h>
Data Fields | |
| float | x |
| float | y |
| float | w |
| float | h |
A rectangle stored using floating point values.
The origin of the coordinate space is in the top-left, with increasing values moving down and right. The properties x and y represent the coordinates of the top-left corner of the rectangle.
Definition at line 109 of file SDL_rect.h.
| float SDL_FRect::h |
Definition at line 114 of file SDL_rect.h.
Referenced by SDL_PointInRectFloat(), SDL_RectEmptyFloat(), SDL_RectsEqualEpsilon(), and SDL_RectToFRect().
| float SDL_FRect::w |
Definition at line 113 of file SDL_rect.h.
Referenced by SDL_PointInRectFloat(), SDL_RectEmptyFloat(), SDL_RectsEqualEpsilon(), and SDL_RectToFRect().
| float SDL_FRect::x |
Definition at line 111 of file SDL_rect.h.
Referenced by SDL_PointInRectFloat(), SDL_RectsEqualEpsilon(), and SDL_RectToFRect().
| float SDL_FRect::y |
Definition at line 112 of file SDL_rect.h.
Referenced by SDL_PointInRectFloat(), SDL_RectsEqualEpsilon(), and SDL_RectToFRect().