20 lines
379 B
C
20 lines
379 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#ifndef __lvgl_font_H
|
||
|
#define __lvgl_font_H
|
||
|
|
||
|
#include "stdlib.h"
|
||
|
#include "string.h"
|
||
|
#include <stdio.h>
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
#include "lvgl.h"
|
||
|
|
||
|
#define LV_ANTIALIAS 0 //抗锯齿
|
||
|
|
||
|
char utf8_to_unicode(uint8_t *pInput, uint32_t *unicode_letter);
|
||
|
|
||
|
char lv_draw_letter(const lv_font_t *font, uint32_t letter, int16_t pos_x, int16_t pos_y);
|
||
|
|
||
|
#endif
|