SDL_RectToFRect(3)

SDL_RectToFRect3

Convert an sdl_rect to sdl_frect

Usage

#include "SDL3/SDL.h"

SDL_FORCE_INLINE void SDL_RectToFRect(const SDL_Rect *rect, SDL_FRect *frect);

Header file

Defined in SDL3/SDL_rect.h

Function 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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.