Home
last modified time | relevance | path

Searched refs:x_ofs (Results 1 – 9 of 9) sorted by relevance

/lvgl-3.7.0/src/widgets/
Dlv_line.c172 lv_coord_t x_ofs = area.x1 - lv_obj_get_scroll_x(obj); in lv_line_event() local
185 p1.x = line->point_array[i].x + x_ofs; in lv_line_event()
186 p2.x = line->point_array[i + 1].x + x_ofs; in lv_line_event()
/lvgl-3.7.0/src/extra/widgets/chart/
Dlv_chart.c833 lv_coord_t x_ofs = obj->coords.x1 + pad_left - scroll_left; in draw_div_lines() local
845 p1.x += x_ofs; in draw_div_lines()
887 lv_coord_t x_ofs = obj->coords.x1 + pad_left - lv_obj_get_scroll_left(obj); in draw_series_line() local
921 p1.x = x_ofs; in draw_series_line()
922 p2.x = x_ofs; in draw_series_line()
947 p2.x = ((w * i) / (chart->point_cnt - 1)) + x_ofs; in draw_series_line()
1056 lv_coord_t x_ofs = obj->coords.x1 + pad_left + border_width - lv_obj_get_scroll_left(obj); in draw_series_scatter() local
1083 p1.x = x_ofs; in draw_series_scatter()
1084 p2.x = x_ofs; in draw_series_scatter()
1090 p2.x += x_ofs; in draw_series_scatter()
[all …]
/lvgl-3.7.0/src/core/
Dlv_obj_pos.h180 void lv_obj_align(struct _lv_obj_t * obj, lv_align_t align, lv_coord_t x_ofs, lv_coord_t y_ofs);
191 …align_to(struct _lv_obj_t * obj, const struct _lv_obj_t * base, lv_align_t align, lv_coord_t x_ofs,
Dlv_obj_pos.c339 void lv_obj_align(lv_obj_t * obj, lv_align_t align, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_obj_align() argument
342 lv_obj_set_pos(obj, x_ofs, y_ofs); in lv_obj_align()
345 void lv_obj_align_to(lv_obj_t * obj, const lv_obj_t * base, lv_align_t align, lv_coord_t x_ofs, lv_… in lv_obj_align_to() argument
476 x += x_ofs + base->coords.x1 - parent->coords.x1 + lv_obj_get_scroll_right(parent) - pleft; in lv_obj_align_to()
479 x += x_ofs + base->coords.x1 - parent->coords.x1 + lv_obj_get_scroll_left(parent) - pleft; in lv_obj_align_to()
/lvgl-3.7.0/src/draw/
Dlv_draw_label.c130 int32_t x_ofs = 0; in lv_draw_label() local
132 x_ofs = dsc->ofs_x; in lv_draw_label()
216 pos.x += x_ofs; in lv_draw_label()
Dlv_draw_mask.c1180 int32_t x_ofs = 0; in lv_draw_mask_fade() local
1181 x_ofs = p->cfg.coords.x1 - abs_x; in lv_draw_mask_fade()
1182 len -= x_ofs; in lv_draw_mask_fade()
1183 mask_buf += x_ofs; in lv_draw_mask_fade()
1231 int32_t x_ofs = 0; in lv_draw_mask_map() local
1232 x_ofs = p->cfg.coords.x1 - abs_x; in lv_draw_mask_map()
1233 len -= x_ofs; in lv_draw_mask_map()
1234 mask_buf += x_ofs; in lv_draw_mask_map()
/lvgl-3.7.0/src/misc/
Dlv_area.c114 void lv_area_move(lv_area_t * area, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_area_move() argument
116 area->x1 += x_ofs; in lv_area_move()
117 area->x2 += x_ofs; in lv_area_move()
Dlv_area.h169 void lv_area_move(lv_area_t * area, lv_coord_t x_ofs, lv_coord_t y_ofs);
/lvgl-3.7.0/docs/widgets/core/
Dimg.md68 With `lv_img_set_offset_x(img, x_ofs)` and `lv_img_set_offset_y(img, y_ofs)`, you can add some offs…