Searched refs:draw_nema_gfx_unit (Results 1 – 8 of 8) sorted by relevance
/lvgl-latest/src/draw/nema_gfx/ |
D | lv_draw_nema_gfx.c | 93 …lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = lv_draw_create_unit(sizeof(lv_draw_nema_gfx_unit_t)… in lv_draw_nema_gfx_init() local 97 draw_nema_gfx_unit->base_unit.dispatch_cb = nema_gfx_dispatch; in lv_draw_nema_gfx_init() 98 draw_nema_gfx_unit->base_unit.evaluate_cb = nema_gfx_evaluate; in lv_draw_nema_gfx_init() 99 draw_nema_gfx_unit->base_unit.delete_cb = nema_gfx_delete; in lv_draw_nema_gfx_init() 100 draw_nema_gfx_unit->base_unit.name = "NEMA_GFX"; in lv_draw_nema_gfx_init() 106 draw_nema_gfx_unit->paint = nema_vg_paint_create(); in lv_draw_nema_gfx_init() 107 draw_nema_gfx_unit->gradient = nema_vg_grad_create(); in lv_draw_nema_gfx_init() 108 draw_nema_gfx_unit->path = nema_vg_path_create(); in lv_draw_nema_gfx_init() 110 lv_draw_nema_gfx_label_init(&(draw_nema_gfx_unit->base_unit)); in lv_draw_nema_gfx_init() 113 draw_nema_gfx_unit->cl = nema_cl_create(); in lv_draw_nema_gfx_init() [all …]
|
D | lv_draw_nema_gfx_arc.c | 54 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in lv_draw_nema_gfx_arc() local 83 nema_vg_paint_clear(draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_arc() 84 nema_vg_paint_set_type(draw_nema_gfx_unit->paint, NEMA_VG_PAINT_COLOR); in lv_draw_nema_gfx_arc() 87 nema_vg_paint_set_paint_color(draw_nema_gfx_unit->paint, bg_color); // green in lv_draw_nema_gfx_arc() 88 nema_vg_paint_set_stroke_width(draw_nema_gfx_unit->paint, dsc->width); in lv_draw_nema_gfx_arc() 93 draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_arc() 97 end_angle, draw_nema_gfx_unit->paint, 0U); in lv_draw_nema_gfx_arc() 100 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_arc()
|
D | lv_draw_nema_gfx_fill.c | 46 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in lv_draw_nema_gfx_fill() local 97 nema_vg_paint_clear(draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_fill() 99 nema_vg_paint_set_type(draw_nema_gfx_unit->paint, NEMA_VG_PAINT_GRAD_LINEAR); in lv_draw_nema_gfx_fill() 115 nema_vg_grad_set(draw_nema_gfx_unit->gradient, cnt, stops, colors); in lv_draw_nema_gfx_fill() 132 …nema_vg_paint_set_grad_linear(draw_nema_gfx_unit->paint, draw_nema_gfx_unit->gradient, x0, y0, x1,… in lv_draw_nema_gfx_fill() 137 draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_fill() 139 …draw_rect(rel_coords.x1, rel_coords.y1, coords_bg_w, coords_bg_h, NULL, draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_fill() 143 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_fill()
|
D | lv_draw_nema_gfx_triangle.c | 46 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in lv_draw_nema_gfx_triangle() local 95 nema_vg_path_clear(draw_nema_gfx_unit->path); in lv_draw_nema_gfx_triangle() 96 nema_vg_paint_clear(draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_triangle() 98 nema_vg_paint_set_type(draw_nema_gfx_unit->paint, NEMA_VG_PAINT_GRAD_LINEAR); in lv_draw_nema_gfx_triangle() 116 nema_vg_grad_set(draw_nema_gfx_unit->gradient, cnt, stops, colors); in lv_draw_nema_gfx_triangle() 158 …nema_vg_paint_set_grad_linear(draw_nema_gfx_unit->paint, draw_nema_gfx_unit->gradient, x0, y0, x1,… in lv_draw_nema_gfx_triangle() 160 nema_vg_path_set_shape(draw_nema_gfx_unit->path, 2, cmds_polygon, 7, triangle_coords); in lv_draw_nema_gfx_triangle() 161 nema_vg_draw_path(draw_nema_gfx_unit->path, draw_nema_gfx_unit->paint); in lv_draw_nema_gfx_triangle() 165 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_triangle()
|
D | lv_draw_nema_gfx_line.c | 51 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in lv_draw_nema_gfx_line() local 90 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_line()
|
D | lv_draw_nema_gfx_border.c | 52 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in lv_draw_nema_gfx_border() local 220 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_border()
|
D | lv_draw_nema_gfx_img.c | 104 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in _draw_nema_gfx_img() local 237 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in _draw_nema_gfx_img()
|
D | lv_draw_nema_gfx_label.c | 138 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in lv_draw_nema_gfx_label() local 139 nema_cl_submit(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_label() 140 nema_cl_wait(&(draw_nema_gfx_unit->cl)); in lv_draw_nema_gfx_label() 155 lv_draw_nema_gfx_unit_t * draw_nema_gfx_unit = (lv_draw_nema_gfx_unit_t *)draw_unit; in _draw_nema_gfx_outline() local
|