Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_pos.h427 …lv_clamp_width(lv_coord_t width, lv_coord_t min_width, lv_coord_t max_width, lv_coord_t ref_width);
Dlv_obj_pos.c970 … lv_clamp_width(lv_coord_t width, lv_coord_t min_width, lv_coord_t max_width, lv_coord_t ref_width) in lv_clamp_width() argument
972 if(LV_COORD_IS_PCT(min_width)) min_width = (ref_width * LV_COORD_GET_PCT(min_width)) / 100; in lv_clamp_width()
973 if(LV_COORD_IS_PCT(max_width)) max_width = (ref_width * LV_COORD_GET_PCT(max_width)) / 100; in lv_clamp_width()