Function SDL_RectToFRect
Source pub const unsafe fn SDL_RectToFRect(
rect: *const SDL_Rect,
frect: *mut SDL_FRect,
)
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.