varch/doc/ArtFont.md
2025-11-21 23:00:12 +08:00

32 lines
744 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 介绍
ArtFont为一个简单的字符艺术字模块通过字符组成艺术字符。
## 接口
### 函数
```c
int ArtFont_print(char *string, char *buffer, int size);
```
使用例子:
```c
ArtFont_print("varch", NULL, 0);
```
结果:
```
88
88
88
8b d8 ,adPPYYba, 8b,dPPYba, ,adPPYba, 88,dPPYba,
`8b d8' '' `Y8 88P' 'Y8 a8' '' 88P' '8a
`8b d8' ,adPPPPP88 88 8b 88 88
`8b,d8' 88, ,88 88 '8a, ,aa 88 88
'8' `'8bbdP'Y8 88 `'Ybbd8'' 88 88
```