Files
Sylva/include/fonts/pixel_font.h
T
2026-05-31 19:58:14 +08:00

9 lines
445 B
C

#pragma once
#include <graphics/context.h>
#include <graphics/draw.h>
void pf_print_char(char c, unsigned int basex, unsigned int basey,
COLOR_RGB color = {255, 255, 255, 255}); // Pixel Font 打印字符
void pf_print(const char* text, COLOR_RGB color = {255, 255, 255, 255}); // Pixel Font 打印string
void pf_reset_position(void); // 重设Pixel Font Cursor位置