Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c184 void lv_chart_set_zoom_x(lv_obj_t * obj, uint16_t zoom_x) in lv_chart_set_zoom_x() argument
189 if(chart->zoom_x == zoom_x) return; in lv_chart_set_zoom_x()
191 chart->zoom_x = zoom_x; in lv_chart_set_zoom_x()
217 return chart->zoom_x; in lv_chart_get_zoom_x()
283 lv_coord_t w = ((int32_t)lv_obj_get_content_width(obj) * chart->zoom_x) >> 8; in lv_chart_get_point_pos_by_id()
295 … int32_t ser_gap = ((int32_t)lv_obj_get_style_pad_column(obj, LV_PART_ITEMS) * chart->zoom_x) >> 8; in lv_chart_get_point_pos_by_id()
298 …int32_t block_gap = ((int32_t)lv_obj_get_style_pad_column(obj, LV_PART_MAIN) * chart->zoom_x) >> 8; in lv_chart_get_point_pos_by_id()
667 chart->zoom_x = LV_IMG_ZOOM_NONE; in lv_chart_constructor()
742 p->x = ((int32_t)lv_obj_get_content_width(obj) * chart->zoom_x) >> 8; in lv_chart_event()
779 lv_coord_t w = ((int32_t)lv_obj_get_content_width(obj) * chart->zoom_x) >> 8; in draw_div_lines()
[all …]
Dlv_chart.h114 uint16_t zoom_x; member
189 void lv_chart_set_zoom_x(lv_obj_t * obj, uint16_t zoom_x);