Searched refs:glyph_draw_dsc (Results 1 – 5 of 5) sorted by relevance
/lvgl-latest/src/draw/sw/ |
D | lv_draw_sw_letter.c | 35 …RIBUTE_FAST_MEM */ draw_letter_cb(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, 93 …ATTRIBUTE_FAST_MEM draw_letter_cb(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, in draw_letter_cb() argument 96 if(glyph_draw_dsc) { in draw_letter_cb() 97 switch(glyph_draw_dsc->format) { in draw_letter_cb() 103 border_draw_dsc.opa = glyph_draw_dsc->opa; in draw_letter_cb() 104 border_draw_dsc.color = glyph_draw_dsc->color; in draw_letter_cb() 106 lv_draw_sw_border(draw_unit, &border_draw_dsc, glyph_draw_dsc->bg_coords); in draw_letter_cb() 120 … if(glyph_draw_dsc->rotation % 3600 == 0 && glyph_draw_dsc->format != LV_FONT_GLYPH_FORMAT_IMAGE) { in draw_letter_cb() 121 …glyph_draw_dsc->glyph_data = lv_font_get_glyph_bitmap(glyph_draw_dsc->g, glyph_draw_dsc->_draw_buf… in draw_letter_cb() 122 lv_area_t mask_area = *glyph_draw_dsc->letter_coords; in draw_letter_cb() [all …]
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite_label.c | 38 static void _draw_vglite_letter(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, 79 static void _draw_vglite_letter(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, in _draw_vglite_letter() argument 82 if(glyph_draw_dsc) { in _draw_vglite_letter() 84 switch(glyph_draw_dsc->format) { in _draw_vglite_letter() 91 border_draw_dsc.opa = glyph_draw_dsc->opa; in _draw_vglite_letter() 92 border_draw_dsc.color = glyph_draw_dsc->color; in _draw_vglite_letter() 94 lv_draw_vglite_border(draw_unit, &border_draw_dsc, glyph_draw_dsc->bg_coords); in _draw_vglite_letter() 100 if(glyph_draw_dsc->opa <= LV_OPA_MIN) in _draw_vglite_letter() 106 … if(!lv_area_intersect(&blend_area, glyph_draw_dsc->letter_coords, draw_unit->clip_area)) in _draw_vglite_letter() 110 …const lv_draw_buf_t * draw_buf = lv_font_get_glyph_bitmap(glyph_draw_dsc->g, glyph_draw_dsc->_draw… in _draw_vglite_letter() [all …]
|
/lvgl-latest/src/draw/renesas/dave2d/ |
D | lv_draw_dave2d_label.c | 7 …oid lv_draw_dave2d_draw_letter_cb(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, 22 static void lv_draw_dave2d_draw_letter_cb(lv_draw_unit_t * u, lv_draw_glyph_dsc_t * glyph_draw_dsc, in lv_draw_dave2d_draw_letter_cb() argument 33 letter_coords = *glyph_draw_dsc->letter_coords; in lv_draw_dave2d_draw_letter_cb() 36 is_common = lv_area_intersect(&clip_area, glyph_draw_dsc->letter_coords, u->clip_area); in lv_draw_dave2d_draw_letter_cb() 66 if(glyph_draw_dsc) { in lv_draw_dave2d_draw_letter_cb() 67 switch(glyph_draw_dsc->format) { in lv_draw_dave2d_draw_letter_cb() 73 border_draw_dsc.opa = glyph_draw_dsc->opa; in lv_draw_dave2d_draw_letter_cb() 74 border_draw_dsc.color = glyph_draw_dsc->color; in lv_draw_dave2d_draw_letter_cb() 77 lv_draw_dave2d_border(unit, &border_draw_dsc, glyph_draw_dsc->bg_coords); in lv_draw_dave2d_draw_letter_cb() 82 …glyph_draw_dsc->glyph_data = lv_font_get_glyph_bitmap(glyph_draw_dsc->g, glyph_draw_dsc->_draw_buf… in lv_draw_dave2d_draw_letter_cb() [all …]
|
/lvgl-latest/src/draw/vg_lite/ |
D | lv_draw_vg_lite_label.c | 52 static void draw_letter_cb(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, 122 static void draw_letter_cb(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, in draw_letter_cb() argument 126 if(glyph_draw_dsc) { in draw_letter_cb() 127 switch(glyph_draw_dsc->format) { in draw_letter_cb() 137 …glyph_draw_dsc->glyph_data = lv_font_get_glyph_bitmap(glyph_draw_dsc->g, glyph_draw_dsc->_draw_buf… in draw_letter_cb() 138 draw_letter_bitmap(u, glyph_draw_dsc); in draw_letter_cb() 144 if(lv_freetype_is_outline_font(glyph_draw_dsc->g->resolved_font)) { in draw_letter_cb() 145 …glyph_draw_dsc->glyph_data = lv_font_get_glyph_bitmap(glyph_draw_dsc->g, glyph_draw_dsc->_draw_buf… in draw_letter_cb() 146 draw_letter_outline(u, glyph_draw_dsc); in draw_letter_cb() 153 …glyph_draw_dsc->glyph_data = lv_font_get_glyph_bitmap(glyph_draw_dsc->g, glyph_draw_dsc->_draw_buf… in draw_letter_cb() [all …]
|
/lvgl-latest/src/draw/nema_gfx/ |
D | lv_draw_nema_gfx_label.c | 76 static void _draw_nema_gfx_letter(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc, 82 static inline uint8_t _bpp_nema_gfx_format(lv_draw_glyph_dsc_t * glyph_draw_dsc); 95 …atic void _draw_nema_gfx_outline(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc); 148 static void _draw_nema_gfx_outline(lv_draw_unit_t * draw_unit, lv_draw_glyph_dsc_t * glyph_draw_dsc) in _draw_nema_gfx_outline() argument 152 if(!_lv_area_intersect(&blend_area, glyph_draw_dsc->letter_coords, draw_unit->clip_area)) in _draw_nema_gfx_outline() 157 lv_nema_gfx_path_t * nema_gfx_path = (lv_nema_gfx_path_t *)glyph_draw_dsc->glyph_data; in _draw_nema_gfx_outline() 159 lv_point_t pos = {glyph_draw_dsc->letter_coords->x1, glyph_draw_dsc->letter_coords->y1}; in _draw_nema_gfx_outline() 161 …float scale = FT_F26DOT6_TO_PATH_SCALE(lv_freetype_outline_get_scale(glyph_draw_dsc->g->resolved_f… in _draw_nema_gfx_outline() 167 nema_mat3x3_translate(matrix, pos.x - glyph_draw_dsc->g->ofs_x, in _draw_nema_gfx_outline() 168 pos.y + glyph_draw_dsc->g->box_h + glyph_draw_dsc->g->ofs_y); in _draw_nema_gfx_outline() [all …]
|