Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/extra/widgets/meter/
Dlv_meter.c445 int32_t value_of_line = lv_map(i, 0, scale->tick_cnt - 1, scale->min, scale->max); in draw_ticks_and_labels() local
446 part_draw_dsc.value = value_of_line; in draw_ticks_and_labels()
457 if(value_of_line >= indic->start_value && value_of_line <= indic->end_value) { in draw_ticks_and_labels()
466 … ratio = lv_map(value_of_line, indic->start_value, indic->end_value, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels()
469 … ratio = lv_map(value_of_line, scale->min, scale->max, LV_OPA_TRANSP, LV_OPA_COVER); in draw_ticks_and_labels()
508 lv_snprintf(buf, sizeof(buf), "%" LV_PRId32, value_of_line); in draw_ticks_and_labels()