OCRudoku  v1.0
Resolve word grid with ease
Loading...
Searching...
No Matches
EZ_text.h
Go to the documentation of this file.
1#include <SDL2/SDL.h>
2#include <SDL2/SDL_image.h>
3#include <SDL2/SDL_ttf.h>
4#include "../EZ_utils.h"
6
7#ifndef EZ_TEXT_H
8#define EZ_TEXT_H
9
16
17EZ_text* EZ_create_text(char* text, TTF_Font* font, SDL_Color color, SDL_Renderer* renderer, anchore_point dst_anchore, int auto_aspect);
18
19void EZ_change_text(EZ_text* text_obj, char* text, TTF_Font* font, SDL_Color color, SDL_Renderer* renderer, int auto_aspect);
20
21#endif
EZ_text * EZ_create_text(char *text, TTF_Font *font, SDL_Color color, SDL_Renderer *renderer, anchore_point dst_anchore, int auto_aspect)
Creates an EZ_text object with the given parameters.
Definition EZ_text.c:5
void EZ_change_text(EZ_text *text_obj, char *text, TTF_Font *font, SDL_Color color, SDL_Renderer *renderer, int auto_aspect)
Changes the text of an existing EZ_text object.
Definition EZ_text.c:72
Definition EZ_utils.h:9
Definition EZ_text.h:11
char * text
Definition EZ_text.h:13
anchore_point text_anchore
Definition EZ_text.h:14
EZ_DRAWABLE drawable_text
Definition EZ_text.h:12
Definition RenderingUtils.h:7