Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_pos.c498 lv_coord_t rel_x; in lv_obj_get_x() local
501 rel_x = obj->coords.x1 - parent->coords.x1; in lv_obj_get_x()
502 rel_x += lv_obj_get_scroll_x(parent); in lv_obj_get_x()
503 rel_x -= lv_obj_get_style_pad_left(parent, LV_PART_MAIN); in lv_obj_get_x()
504 rel_x -= lv_obj_get_style_border_width(parent, LV_PART_MAIN); in lv_obj_get_x()
507 rel_x = obj->coords.x1; in lv_obj_get_x()
509 return rel_x; in lv_obj_get_x()
/lvgl-3.7.0/src/draw/
Dlv_draw_mask.c920 int32_t rel_x = abs_x - p->cfg.vertex_p.x; in lv_draw_mask_angle() local
948 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()
990 int32_t tmp = start_angle_last + dist - rel_x; in lv_draw_mask_angle()