Function SDL_RectToFRect
pub unsafe fn SDL_RectToFRect(rect: *const SDL_Rect, frect: *mut SDL_FRect)
Available on crate feature dep_sdl3
only.
Expand description
Convert an SDL_Rect
to SDL_FRect
§Parameters
rect
: a pointer to an SDL_Rect
.
frect
: a pointer filled in with the floating point representation of
rect
.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.