domino-dungeon/draw.h

9 lines
359 B
C
Raw Permalink Normal View History

2025-10-18 17:32:37 +02:00
#include <stdbool.h>
#include <stddef.h>
#include "game.h"
2025-10-21 14:57:37 +02:00
void draw_image(struct image canvas, struct image texture, size_t xpos, size_t ypos, bool vertical);
void draw_glyph(struct image canvas, uint32_t glyph, size_t xpos, size_t ypos, struct color color);
2025-10-18 17:32:37 +02:00
void draw_text(struct image canvas, char *string, size_t xpos, size_t ypos, struct color color);