Home
last modified time | relevance | path

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

/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_7.c22 …uint32_t p_act = (start_point + base_dsc->id2) % cnt; /*Consider start point to get the index of t… in draw_event_cb() local
23 lv_opa_t x_opa = (x_array[p_act] * LV_OPA_50) / 200; in draw_event_cb()
24 lv_opa_t y_opa = (y_array[p_act] * LV_OPA_50) / 1000; in draw_event_cb()
/lvgl-latest/src/widgets/chart/
Dlv_chart.c862 int32_t p_act = start_point; in draw_series_line() local
878 p_act = (start_point + i) % chart->point_cnt; in draw_series_line()
880 y_tmp = (int32_t)((int32_t)ser->y_points[p_act] - chart->ymin[ser->y_axis_sec]) * h; in draw_series_line()
885 p_prev = p_act; in draw_series_line()
892 … if(ser->y_points[p_prev] != LV_CHART_POINT_NONE && ser->y_points[p_act] != LV_CHART_POINT_NONE) { in draw_series_line()
917 … if(ser->y_points[p_prev] != LV_CHART_POINT_NONE && ser->y_points[p_act] != LV_CHART_POINT_NONE) { in draw_series_line()
929 p_prev = p_act; in draw_series_line()
935 if(ser->y_points[p_act] != LV_CHART_POINT_NONE) { in draw_series_line()
1002 int32_t p_act = start_point; in draw_series_scatter() local
1004 if(ser->y_points[p_act] != LV_CHART_POINT_CNT_DEF) { in draw_series_scatter()
[all …]