Home
last modified time | relevance | path

Searched refs:p_act (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/examples/widgets/chart/
Dlv_example_chart_7.c19 …uint32_t p_act = (start_point + dsc->id) % cnt; /*Consider start point to get the index of the arr… in draw_event_cb() local
20 lv_opa_t x_opa = (x_array[p_act] * LV_OPA_50) / 200; in draw_event_cb()
21 lv_opa_t y_opa = (y_array[p_act] * LV_OPA_50) / 1000; in draw_event_cb()
Dlv_example_chart_7.py22 p_act = (start_point + dsc.id) % cnt # Consider start point to get the index of the array
24 x_opa = (x_array[p_act] * lv.OPA._50) // 200
25 y_opa = (y_array[p_act] * lv.OPA._50) // 1000
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c924 lv_coord_t p_act = start_point; in draw_series_line() local
949 p_act = (start_point + i) % chart->point_cnt; in draw_series_line()
951 y_tmp = (int32_t)((int32_t)ser->y_points[p_act] - chart->ymin[ser->y_axis_sec]) * h; in draw_series_line()
956 p_prev = p_act; in draw_series_line()
963 … if(ser->y_points[p_prev] != LV_CHART_POINT_NONE && ser->y_points[p_act] != LV_CHART_POINT_NONE) { in draw_series_line()
990 part_draw_dsc.p2 = ser->y_points[p_act] != LV_CHART_POINT_NONE ? &p2 : NULL; in draw_series_line()
996 … if(ser->y_points[p_prev] != LV_CHART_POINT_NONE && ser->y_points[p_act] != LV_CHART_POINT_NONE) { in draw_series_line()
1008 p_prev = p_act; in draw_series_line()
1014 if(ser->y_points[p_act] != LV_CHART_POINT_NONE) { in draw_series_line()
1025 part_draw_dsc.value = ser->y_points[p_act]; in draw_series_line()
[all …]