---
name: "SDL_FRect"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_FRect"
---

# SDL\_FRect(3type)

A rectangle, with the origin at the upper left (using floating point values).

## NAME

SDL\_FRect - A rectangle, with the origin at the upper left (using floating point values).

## HEADER FILE

Defined in SDL3/SDL\_rect.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef struct SDL\_FRect** **{**     **float x;**     **float y;**     **float w;**     **float h;** **} SDL\_FRect;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_RectEmptyFloat**(3)](/SDL_RectEmptyFloat/3.md), **•**(3), [**SDL\_RectsEqualFloat**(3)](/SDL_RectsEqualFloat/3.md), **•**(3), [**SDL\_RectsEqualEpsilon**(3)](/SDL_RectsEqualEpsilon/3.md), **•**(3), [**SDL\_HasRectIntersectionFloat**(3)](/SDL_HasRectIntersectionFloat/3.md), **•**(3), [**SDL\_GetRectIntersectionFloat**(3)](/SDL_GetRectIntersectionFloat/3.md), **•**(3), [**SDL\_GetRectAndLineIntersectionFloat**(3)](/SDL_GetRectAndLineIntersectionFloat/3.md), **•**(3), [**SDL\_GetRectUnionFloat**(3)](/SDL_GetRectUnionFloat/3.md), **•**(3), [**SDL\_GetRectEnclosingPointsFloat**(3)](/SDL_GetRectEnclosingPointsFloat/3.md), **•**(3), [**SDL\_PointInRectFloat**(3)](/SDL_PointInRectFloat/3.md)
