mirror of
https://gitee.com/Lamdonn/varch.git
synced 2025-12-06 08:46:42 +08:00
35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
/*********************************************************************************************************
|
|
* ------------------------------------------------------------------------------------------------------
|
|
* file description
|
|
* ------------------------------------------------------------------------------------------------------
|
|
* \file ArtFont.h
|
|
* \unit ArtFont
|
|
* \brief This is a C language artistic character patterns
|
|
* \author Lamdonn
|
|
* \version v1.0.0
|
|
* \license GPL-2.0
|
|
* \copyright Copyright (C) 2023 Lamdonn.
|
|
********************************************************************************************************/
|
|
#ifndef __ArtFont_H
|
|
#define __ArtFont_H
|
|
|
|
#include <stdlib.h>
|
|
|
|
/* Version infomation */
|
|
|
|
#define CPATTEN_V_MAJOR 1
|
|
#define CPATTEN_V_MINOR 0
|
|
#define CPATTEN_V_PATCH 0
|
|
|
|
/**
|
|
* \brief Print artistic string.
|
|
* \param[in] string: string
|
|
* \param[in] buffer: buffer, if NULL, print to stdout
|
|
* \param[in] size: size of buffer
|
|
* \return count of characters printed
|
|
*/
|
|
int ArtFont_print(char *string, char *buffer, int size);
|
|
|
|
|
|
#endif
|