SDL_RectToFRect

Convert an SDL_Rect to SDL_FRect

extern (C) nothrow @nogc pragma(inline, true)
void
SDL_RectToFRect

Parameters

rect const(SDL_Rect)*

a pointer to an SDL_Rect.

frect SDL_FRect*

a pointer filled in with the floating point representation of rect.

Threadsafety: It is safe to call this function from any thread.

Meta