Functions | |
| void | DrawFilledCircle (Vec2 center, int radius, SDL_Color color) |
| void | DrawFilledHalfCircle (Vec2 center, int radius, Vec2 direction, SDL_Color color) |
| Draws a filled half-circle in a specified direction. | |
| SDL_Texture * | CreateHalfCircleTexture (int radius, Vec2 direction, SDL_Color color) |
| Creates a half-circle texture oriented in the specified direction. | |
| SDL_Texture * | CreateHalfCircleOutlineTexture (int radius, Vec2 direction, SDL_Color color, int thickness) |
| Creates a texture containing an unfilled half-circle outline oriented in a specific direction. | |
| bool | IsRectOverlappingCircle (SDL_Rect rect, Vec2 circleCenter, float radius) |
| SDL_Texture * | CreateCircleTexture (int radius, SDL_Color color) |
| void | DrawCircleOutline (Vec2 center, int radius, SDL_Color color) |
| Draws an unfilled circle directly to the renderer. | |
| SDL_Texture * | CreateCircleOutlineTexture (int radius, SDL_Color color, int thickness) |
| Creates a texture containing an unfilled circle. | |
| SDL_Texture * CreateCircleOutlineTexture | ( | int | radius, |
| SDL_Color | color, | ||
| int | thickness | ||
| ) |
Creates a texture containing an unfilled circle.
| radius | Radius of the circle |
| color | Color of the circle outline |
| thickness | Line thickness (1 for thin outline) |
| SDL_Texture * CreateCircleTexture | ( | int | radius, |
| SDL_Color | color | ||
| ) |
| SDL_Texture * CreateHalfCircleOutlineTexture | ( | int | radius, |
| Vec2 | direction, | ||
| SDL_Color | color, | ||
| int | thickness | ||
| ) |
Creates a texture containing an unfilled half-circle outline oriented in a specific direction.
| radius | Radius of the half-circle |
| direction | Direction vector determining the orientation |
| color | Color of the half-circle outline |
| thickness | Line thickness (1 for thin outline) |
| SDL_Texture * CreateHalfCircleTexture | ( | int | radius, |
| Vec2 | direction, | ||
| SDL_Color | color | ||
| ) |
Creates a half-circle texture oriented in the specified direction.
| radius | Radius of the half-circle |
| direction | Direction vector determining the orientation |
| color | Color of the half-circle |
| void DrawCircleOutline | ( | Vec2 | center, |
| int | radius, | ||
| SDL_Color | color | ||
| ) |
Draws an unfilled circle directly to the renderer.
| center | Center position of the circle |
| radius | Radius of the circle |
| color | Color of the circle outline |
| void DrawFilledCircle | ( | Vec2 | center, |
| int | radius, | ||
| SDL_Color | color | ||
| ) |
Draws a filled half-circle in a specified direction.
Renders a half-circle filled with the specified color, oriented in the direction provided by the direction vector.
| center | Center position of the half-circle |
| radius | Radius of the half-circle |
| direction | Direction vector determining the orientation |
| color | Color of the half-circle |
| bool IsRectOverlappingCircle | ( | SDL_Rect | rect, |
| Vec2 | circleCenter, | ||
| float | radius | ||
| ) |