Home
last modified time | relevance | path

Searched refs:line_dsc (Results 1 – 15 of 15) sorted by relevance

/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_2.c34 draw_rect_dsc.bg_color = dsc->line_dsc->color; in draw_event_cb()
51 if(dsc->line_dsc == NULL || dsc->p1 == NULL || dsc->p2 == NULL) return; in draw_event_cb()
55 dsc->line_dsc->color = lv_palette_lighten(LV_PALETTE_GREY, 1); in draw_event_cb()
57 dsc->line_dsc->width = 2; in draw_event_cb()
58 dsc->line_dsc->dash_gap = 0; in draw_event_cb()
59 dsc->line_dsc->dash_width = 0; in draw_event_cb()
62 dsc->line_dsc->width = 1; in draw_event_cb()
63 dsc->line_dsc->dash_gap = 6; in draw_event_cb()
64 dsc->line_dsc->dash_width = 6; in draw_event_cb()
70 dsc->line_dsc->width = 2; in draw_event_cb()
[all …]
Dlv_example_chart_2.py29 draw_rect_dsc.bg_color = dsc.line_dsc.color
Dlv_example_chart_8.c35 draw_rect_dsc.bg_color = dsc->line_dsc->color; in draw_event_cb()
Dlv_example_chart_8.py37 draw_rect_dsc.bg_color = dsc.line_dsc.color
/lvgl-3.7.0/src/draw/
Dlv_draw_label.c192 lv_draw_line_dsc_t line_dsc; in lv_draw_label() local
195 lv_draw_line_dsc_init(&line_dsc); in lv_draw_label()
196 line_dsc.color = dsc->color; in lv_draw_label()
197 line_dsc.width = font->underline_thickness ? font->underline_thickness : 1; in lv_draw_label()
198 line_dsc.opa = dsc->opa; in lv_draw_label()
199 line_dsc.blend_mode = dsc->blend_mode; in lv_draw_label()
313 p1.y = pos.y + (dsc->font->line_height / 2) + line_dsc.width / 2; in lv_draw_label()
316 line_dsc.color = color; in lv_draw_label()
317 lv_draw_line(draw_ctx, &line_dsc, &p1, &p2); in lv_draw_label()
327 line_dsc.color = color; in lv_draw_label()
[all …]
/lvgl-3.7.0/src/widgets/
Dlv_line.c176 lv_draw_line_dsc_t line_dsc; in lv_line_event() local
177 lv_draw_line_dsc_init(&line_dsc); in lv_line_event()
178 lv_obj_init_draw_line_dsc(obj, LV_PART_MAIN, &line_dsc); in lv_line_event()
196 lv_draw_line(draw_ctx, &line_dsc, &p1, &p2); in lv_line_event()
197line_dsc.round_start = 0; /*Draw the rounding only on the end points after the first line*/ in lv_line_event()
/lvgl-3.7.0/src/extra/widgets/meter/
Dlv_meter.c384 lv_draw_line_dsc_t line_dsc; in draw_ticks_and_labels() local
385 lv_draw_line_dsc_init(&line_dsc); in draw_ticks_and_labels()
386 lv_obj_init_draw_line_dsc(obj, LV_PART_TICKS, &line_dsc); in draw_ticks_and_labels()
387 line_dsc.raw_end = 1; in draw_ticks_and_labels()
404 part_draw_dsc.line_dsc = &line_dsc; in draw_ticks_and_labels()
480 line_dsc.color = line_color; in draw_ticks_and_labels()
481 line_dsc.width = line_width; in draw_ticks_and_labels()
537 lv_draw_line(draw_ctx, &line_dsc, &p_outer, &p_center); in draw_ticks_and_labels()
541 line_dsc.color = line_color_ori; in draw_ticks_and_labels()
542 line_dsc.width = line_width_ori; in draw_ticks_and_labels()
[all …]
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c782 lv_draw_line_dsc_t line_dsc; in draw_div_lines() local
783 lv_draw_line_dsc_init(&line_dsc); in draw_div_lines()
784 lv_obj_init_draw_line_dsc(obj, LV_PART_MAIN, &line_dsc); in draw_div_lines()
791 part_draw_dsc.line_dsc = &line_dsc; in draw_div_lines()
827 lv_draw_line(draw_ctx, &line_dsc, &p1, &p2); in draw_div_lines()
855 lv_draw_line(draw_ctx, &line_dsc, &p1, &p2); in draw_div_lines()
935 part_draw_dsc.line_dsc = &line_dsc_default; in draw_series_line()
1106 part_draw_dsc.line_dsc = &line_dsc_default; in draw_series_scatter()
1300 part_draw_dsc.line_dsc = &line_dsc_tmp; in draw_cursors()
1425 lv_draw_line_dsc_t line_dsc; in draw_y_ticks() local
[all …]
/lvgl-3.7.0/src/extra/widgets/colorwheel/
Dlv_colorwheel.c251 lv_draw_line_dsc_t line_dsc; in draw_disc_grad() local
252 lv_draw_line_dsc_init(&line_dsc); in draw_disc_grad()
253 lv_obj_init_draw_line_dsc(obj, LV_PART_MAIN, &line_dsc); in draw_disc_grad()
255 line_dsc.width = (r * 628 / (256 / LV_CPICKER_DEF_QF)) / 100; in draw_disc_grad()
256 line_dsc.width += 2; in draw_disc_grad()
279 lv_coord_t cir_w_extra = line_dsc.width; in draw_disc_grad()
285 line_dsc.color = angle_to_mode_color_fast(obj, i); in draw_disc_grad()
294 lv_draw_line(draw_ctx, &line_dsc, &p[0], &p[1]); in draw_disc_grad()
/lvgl-3.7.0/src/extra/widgets/span/
Dlv_span.c989 lv_draw_line_dsc_t line_dsc; in lv_draw_span() local
990 lv_draw_line_dsc_init(&line_dsc); in lv_draw_span()
991 line_dsc.color = label_draw_dsc.color; in lv_draw_span()
992line_dsc.width = label_draw_dsc.font->underline_thickness ? pinfo->font->underline_thickness : 1; in lv_draw_span()
993 line_dsc.opa = label_draw_dsc.opa; in lv_draw_span()
994 line_dsc.blend_mode = label_draw_dsc.blend_mode; in lv_draw_span()
1000 p1.y = pos.y + ((pinfo->line_h - line_space) >> 1) + (line_dsc.width >> 1); in lv_draw_span()
1003 lv_draw_line(draw_ctx, &line_dsc, &p1, &p2); in lv_draw_span()
1013 lv_draw_line(draw_ctx, &line_dsc, &p1, &p2); in lv_draw_span()
/lvgl-3.7.0/src/core/
Dlv_obj_draw.h52line_dsc; /**< A draw descriptor that can be modified to changed what LVGL will draw. Set onl… member
/lvgl-3.7.0/docs/widgets/extra/
Dchart.md133 - `line_dsc`
138 - `line_dsc`
145 - `line_dsc`
158 - `line_dsc`
166 - `line_dsc`,
Dmeter.md72 - `line_dsc`
84 - `line_dsc`:
/lvgl-3.7.0/docs/overview/
Ddrawing.md165 lv_draw_line_dsc_t * line_dsc; // A draw descriptor that can be modified to changed what LVGL …
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.c1372 draw_rect_dsc.bg_color = dsc->line_dsc->color; in chart_event_cb()