nishbox/engine/include/gf_graphic.h
2025-04-10 14:30:23 +09:00

20 lines
417 B
C

#ifndef __GF_GRAPHIC_H__
#define __GF_GRAPHIC_H__
#include <gf_pre.h>
#include <gf_macro.h>
/* Type */
/* Engine */
#include <gf_type/draw.h>
/* Standard */
void gf_graphic_clear(gf_draw_t* draw);
void gf_graphic_begin_2d(gf_draw_t* draw);
void gf_graphic_end_2d(gf_draw_t* draw);
void gf_graphic_text(gf_draw_t* draw, float x, float y, float size, const char* text, float r, float g, float b, float a);
#endif