Searched refs:tick_cnt (Results 1 – 2 of 2) sorted by relevance
35 uint16_t tick_cnt; member
79 scale->tick_cnt = 6; in lv_meter_add_scale()90 scale->tick_cnt = cnt; in lv_meter_set_scale_ticks()439 for(i = 0; i < scale->tick_cnt; i++) { in draw_ticks_and_labels()447 int32_t value_of_line = lv_map(i, 0, scale->tick_cnt - 1, scale->min, scale->max); in draw_ticks_and_labels()478 …int32_t angle_upscale = ((i * scale->angle_range) * 10) / (scale->tick_cnt - 1) + + scale->rotati… in draw_ticks_and_labels()