Files
Sylva/include/fonts/pixel_font.h
T
2026-06-05 17:49:19 +08:00

7 lines
392 B
C

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