Home
last modified time | relevance | path

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

/lvgl-latest/src/misc/
Dlv_area.c406 void lv_area_align(const lv_area_t * base, lv_area_t * to_align, lv_align_t align, lv_coord_t ofs_x… in lv_area_align() argument
413 x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in lv_area_align()
414 y = lv_area_get_height(base) / 2 - lv_area_get_height(to_align) / 2; in lv_area_align()
422 x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in lv_area_align()
427 x = lv_area_get_width(base) - lv_area_get_width(to_align); in lv_area_align()
433 y = lv_area_get_height(base) - lv_area_get_height(to_align); in lv_area_align()
436 x = lv_area_get_width(base) / 2 - lv_area_get_width(to_align) / 2; in lv_area_align()
437 y = lv_area_get_height(base) - lv_area_get_height(to_align); in lv_area_align()
441 x = lv_area_get_width(base) - lv_area_get_width(to_align); in lv_area_align()
442 y = lv_area_get_height(base) - lv_area_get_height(to_align); in lv_area_align()
[all …]
Dlv_area.h245 void lv_area_align(const lv_area_t * base, lv_area_t * to_align, lv_align_t align, lv_coord_t ofs_x…