Searched refs:y_ofs (Results 1 – 9 of 9) sorted by relevance
/lvgl-3.4.0/src/widgets/ |
D | lv_line.c | 172 lv_coord_t y_ofs = area.y1 - lv_obj_get_scroll_y(obj); in lv_line_event() local 189 p1.y = line->point_array[i].y + y_ofs; in lv_line_event() 190 p2.y = line->point_array[i + 1].y + y_ofs; in lv_line_event() 193 p1.y = h - line->point_array[i].y + y_ofs; in lv_line_event() 194 p2.y = h - line->point_array[i + 1].y + y_ofs; in lv_line_event()
|
D | lv_checkbox.c | 253 lv_coord_t y_ofs = (lv_area_get_height(&marker_area) - font_h) / 2; in lv_checkbox_draw() local 257 txt_area.y1 = obj->coords.y1 + bg_topp + y_ofs; in lv_checkbox_draw()
|
/lvgl-3.4.0/src/core/ |
D | lv_obj_pos.h | 180 void lv_obj_align(struct _lv_obj_t * obj, lv_align_t align, lv_coord_t x_ofs, lv_coord_t y_ofs); 192 lv_coord_t y_ofs);
|
D | lv_obj_pos.c | 336 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 339 lv_obj_set_pos(obj, x_ofs, y_ofs); in lv_obj_align() 342 …ign_to(lv_obj_t * obj, const lv_obj_t * base, lv_align_t align, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_obj_align_to() argument 478 y += y_ofs + base->coords.y1 - parent->coords.y1 + lv_obj_get_scroll_top(parent) - ptop; in lv_obj_align_to()
|
/lvgl-3.4.0/src/draw/ |
D | lv_draw_label.c | 131 int32_t y_ofs = 0; in lv_draw_label() local 133 y_ofs = dsc->ofs_y; in lv_draw_label() 134 pos.y += y_ofs; in lv_draw_label() 140 if(hint && y_ofs == 0 && coords->y1 < 0) { in lv_draw_label()
|
/lvgl-3.4.0/src/extra/widgets/chart/ |
D | lv_chart.c | 805 lv_coord_t y_ofs = obj->coords.y1 + pad_top - scroll_top; in draw_div_lines() local 818 p1.y += y_ofs; in draw_div_lines() 889 lv_coord_t y_ofs = obj->coords.y1 + pad_top - lv_obj_get_scroll_top(obj); in draw_series_line() local 929 p2.y = h - y_tmp + y_ofs; in draw_series_line() 954 p2.y = h - y_tmp + y_ofs; in draw_series_line() 1058 lv_coord_t y_ofs = obj->coords.y1 + pad_top + border_width - lv_obj_get_scroll_top(obj); in draw_series_scatter() local 1095 p2.y += y_ofs; in draw_series_scatter() 1119 p2.y += y_ofs; in draw_series_scatter() 1208 lv_coord_t y_ofs = pad_top - lv_obj_get_scroll_top(obj); in draw_series_bar() local 1248 col_a.y1 = h - y_tmp + obj->coords.y1 + y_ofs; in draw_series_bar() [all …]
|
/lvgl-3.4.0/src/misc/ |
D | lv_area.c | 114 void lv_area_move(lv_area_t * area, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_area_move() argument 118 area->y1 += y_ofs; in lv_area_move() 119 area->y2 += y_ofs; in lv_area_move()
|
D | lv_area.h | 169 void lv_area_move(lv_area_t * area, lv_coord_t x_ofs, lv_coord_t y_ofs);
|
/lvgl-3.4.0/docs/widgets/core/ |
D | img.md | 72 With `lv_img_set_offset_x(img, x_ofs)` and `lv_img_set_offset_y(img, y_ofs)`, you can add some offs…
|