add text rendering

This commit is contained in:
2023-01-20 20:35:18 +01:00
parent ffb7641a61
commit a0cee4eec4
4 changed files with 39 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
#include <SDL/SDL_ttf.h>
#include "renderer.h"
typedef struct {
int x;
int y;
int z;
} Position;
RenderObject_t text_renderText(Position position, SDL_Color color, TTF_Font* font, char* format, ...);