David Gonzalez Martin 8400d9f6e3 Can draw some text
2024-11-13 08:52:20 -06:00

20 lines
319 B
C

#include <std/base.h>
#include <std/os.h>
STRUCT(FontCharacter)
{
int advance;
};
STRUCT(TextureAtlas)
{
u8* pointer;
FontCharacter* characters;
u32 width;
u32 height;
u32 character_width;
u32 char_height;
};
EXPORT TextureAtlas font_create_texture_atlas(Arena* arena, String font_path);