Searched refs:p_out (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/extra/widgets/chart/ |
D | lv_chart.c | 269 …chart_get_point_pos_by_id(lv_obj_t * obj, lv_chart_series_t * ser, uint16_t id, lv_point_t * p_out) in lv_chart_get_point_pos_by_id() argument 278 p_out->x = 0; in lv_chart_get_point_pos_by_id() 279 p_out->y = 0; in lv_chart_get_point_pos_by_id() 287 p_out->x = (w * id) / (chart->point_cnt - 1); in lv_chart_get_point_pos_by_id() 290 …p_out->x = lv_map(ser->x_points[id], chart->xmin[ser->x_axis_sec], chart->xmax[ser->x_axis_sec], 0… in lv_chart_get_point_pos_by_id() 309 p_out->x = (int32_t)((int32_t)(w + block_gap) * id) / chart->point_cnt; in lv_chart_get_point_pos_by_id() 310 p_out->x += block_w * ser_idx / ser_cnt; in lv_chart_get_point_pos_by_id() 313 p_out->x += col_w / 2; in lv_chart_get_point_pos_by_id() 317 p_out->x += lv_obj_get_style_pad_left(obj, LV_PART_MAIN) + border_width; in lv_chart_get_point_pos_by_id() 318 p_out->x -= lv_obj_get_scroll_left(obj); in lv_chart_get_point_pos_by_id() [all …]
|
D | lv_chart.h | 256 …hart_get_point_pos_by_id(lv_obj_t * obj, lv_chart_series_t * ser, uint16_t id, lv_point_t * p_out);
|