HW_Lib/lib/inc/font/lvgl_font.h

20 lines
379 B
C
Raw Normal View History

2024-06-24 14:58:18 +00:00
#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