GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
gf_font.h
Go to the documentation of this file.
1
7#ifndef __GF_FONT_H__
8#define __GF_FONT_H__
9
10#include <gf_pre.h>
11#include <gf_macro.h>
12
13/* Type */
14#include <gf_type/font.h>
15
16/* Engine */
17#include <gf_type/draw.h>
18
19/* Standard */
20
29
37GF_EXPORT gf_font_t* gf_font_create(gf_draw_t* draw, const char* path);
38
39#endif
Type definitions related to drawing interface.
Type definitions related to font.
gf_font_t * gf_font_create(gf_draw_t *draw, const char *path)
Load font.
Definition gf_font.c:141
gf_font_glyph_t * gf_font_get(gf_font_t *font, int code)
Get glyph.
Definition gf_font.c:20
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:182
Required headers before anything.
Drawing interface.
Definition draw.h:108
Glyph.
Definition font.h:75
Font.
Definition font.h:95