SDL_RectToFRect - Convert an SDL_Rect
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_RectToFRect(3)
Function Parameters
rect a pointer to an SDL_Rect .
frect a pointer filled in with the floating point representation of rect .
Header File
Defined in SDL3/SDL_rect.h
Name
SDL_RectToFRect - Convert an SDL_Rect
to SDL_FRectSynopsis
#include"SDL3/SDL.h"SDL_FORCE_INLINEvoidSDL_RectToFRect(constSDL_Rect*rect,SDL_FRect*frect);
Thread Safety
It is safe to call this function from any thread.
