Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
draw.h
Go to the documentation of this file.
1#ifndef INCLUDE_GAME_SDL_DRAW_H
2#define INCLUDE_GAME_SDL_DRAW_H
3
4#include <SDL3/SDL_pixels.h>
5#include <SDL3/SDL_render.h>
6
7namespace game::sdl {
8
9 void draw_line(SDL_Renderer* renderer,
10 float x1,
11 float y1,
12 float x2,
13 float y2,
14 float thickness,
15 SDL_FColor color);
16
17 void draw_filled_circle(SDL_Renderer* renderer,
18 float cx,
19 float cy,
20 float radius,
21 SDL_FColor color,
22 int segments = 64);
23
24} // namespace game::sdl
25
26#endif
Definition color.h:6
void draw_line(SDL_Renderer *renderer, float x1, float y1, float x2, float y2, float thickness, SDL_FColor color)
Definition draw.cpp:11
void draw_filled_circle(SDL_Renderer *renderer, float cx, float cy, float radius, SDL_FColor color, int segments=64)
Definition draw.cpp:42