My Project
Loading...
Searching...
No Matches
sdl2-ttf-light.h
1#ifndef __SDL2_TTF_LIGHT__H
2#define __SDL2_TTF_LIGHT__H
3
4#include <SDL2/SDL.h>
5#include <SDL2/SDL_ttf.h>
6
7
11void init_ttf();
12
13
21TTF_Font * load_font(const char* path, int font_size);
22
34void apply_text(SDL_Renderer *renderer,int x, int y, int w, int h, const char *text, TTF_Font *font, SDL_Color color);
35
36
37
42void clean_font(TTF_Font * font);
43
44#endif
struct _TTF_Font TTF_Font
Definition: SDL_ttf.h:164
Definition: SDL_pixels.h:310