Files
GameJam-polytech/src/text.h
T
2023-01-21 14:57:11 +01:00

18 lines
335 B
C

#ifndef __TEXT_H__
#define __TEXT_H__
#include "scene.h"
#include <SDL2/SDL_ttf.h>
typedef struct {
int x;
int y;
int z;
} Position;
int text_renderText(RenderObject_t* renderObject, int z, float scale, SDL_Color color, const char* fontFilename, int fontSize, char* format, ...);
void text_freeFontCache(void);
#endif