Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/core/
Dlv_obj_pos.c495 lv_coord_t rel_x; in lv_obj_get_x() local
498 rel_x = obj->coords.x1 - parent->coords.x1; in lv_obj_get_x()
499 rel_x += lv_obj_get_scroll_x(parent); in lv_obj_get_x()
500 rel_x -= lv_obj_get_style_pad_left(parent, LV_PART_MAIN); in lv_obj_get_x()
501 rel_x -= lv_obj_get_style_border_width(parent, LV_PART_MAIN); in lv_obj_get_x()
504 rel_x = obj->coords.x1; in lv_obj_get_x()
506 return rel_x; in lv_obj_get_x()
/lvgl-3.4.0/src/draw/
Dlv_draw_mask.c922 int32_t rel_x = abs_x - p->cfg.vertex_p.x; in lv_draw_mask_angle() local
950 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()
992 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()