mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +08:00
feat(draw/sw): added support for 3 bpp font rendering
This commit is contained in:
parent
a848a0bf1d
commit
3a7607a6bb
@ -83,6 +83,7 @@ static void LV_ATTRIBUTE_FAST_MEM draw_letter_cb(lv_draw_unit_t * draw_unit, lv_
|
||||
break;
|
||||
case LV_FONT_GLYPH_FORMAT_A1:
|
||||
case LV_FONT_GLYPH_FORMAT_A2:
|
||||
case LV_FONT_GLYPH_FORMAT_A3:
|
||||
case LV_FONT_GLYPH_FORMAT_A4:
|
||||
case LV_FONT_GLYPH_FORMAT_A8:
|
||||
case LV_FONT_GLYPH_FORMAT_A1_ALIGNED:
|
||||
|
@ -39,6 +39,7 @@ typedef enum {
|
||||
/**< Legacy simple formats with no byte padding at end of the lines*/
|
||||
LV_FONT_GLYPH_FORMAT_A1 = 0x01, /**< 1 bit per pixel*/
|
||||
LV_FONT_GLYPH_FORMAT_A2 = 0x02, /**< 2 bit per pixel*/
|
||||
LV_FONT_GLYPH_FORMAT_A3 = 0x03, /**< 3 bit per pixel*/
|
||||
LV_FONT_GLYPH_FORMAT_A4 = 0x04, /**< 4 bit per pixel*/
|
||||
LV_FONT_GLYPH_FORMAT_A8 = 0x08, /**< 8 bit per pixel*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user