Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/core/
Dlv_obj_pos.c523 lv_coord_t rel_y; in lv_obj_get_y() local
526 rel_y = obj->coords.y1 - parent->coords.y1; in lv_obj_get_y()
527 rel_y += lv_obj_get_scroll_y(parent); in lv_obj_get_y()
528 rel_y -= lv_obj_get_style_pad_top(parent, LV_PART_MAIN); in lv_obj_get_y()
529 rel_y -= lv_obj_get_style_border_width(parent, LV_PART_MAIN); in lv_obj_get_y()
532 rel_y = obj->coords.y1; in lv_obj_get_y()
534 return rel_y; in lv_obj_get_y()
/lvgl-3.5.0/src/draw/
Dlv_draw_mask.c918 int32_t rel_y = abs_y - p->cfg.vertex_p.y; in lv_draw_mask_angle() local
930 int32_t end_angle_first = (rel_y * p->end_line.xy_steep) >> 10; in lv_draw_mask_angle()
931 int32_t start_angle_last = ((rel_y + 1) * p->start_line.xy_steep) >> 10; in lv_draw_mask_angle()
972 int32_t end_angle_first = (rel_y * p->end_line.xy_steep) >> 10; in lv_draw_mask_angle()
973 int32_t start_angle_last = ((rel_y + 1) * p->start_line.xy_steep) >> 10; in lv_draw_mask_angle()