Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
text.h File Reference
#include <SDL3/SDL_pixels.h>
#include <SDL3/SDL_render.h>
#include <SDL3_ttf/SDL_ttf.h>
#include <cstdint>
#include <string>
Include dependency graph for text.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  game
namespace  game::sdl

Enumerations

enum class  game::sdl::VAlign : std::uint8_t { game::sdl::Top , game::sdl::Middle , game::sdl::Bottom }
enum class  game::sdl::HAlign : std::uint8_t { game::sdl::Left , game::sdl::Center , game::sdl::Right }

Functions

void game::sdl::draw_text (SDL_Renderer *renderer, TTF_Font *font, const std::string &text, float x, float y, float font_size, HAlign h_align, VAlign v_align, SDL_Color color)