Searched refs:angle_range (Results 1 – 3 of 3) sorted by relevance
/lvgl-3.7.0/src/extra/widgets/meter/ |
D | lv_meter.c | 75 scale->angle_range = 270; in lv_meter_add_scale() 76 scale->rotation = 90 + (360 - scale->angle_range) / 2; in lv_meter_add_scale() 108 …ale_range(lv_obj_t * obj, lv_meter_scale_t * scale, int32_t min, int32_t max, uint32_t angle_range, in lv_meter_set_scale_range() argument 113 scale->angle_range = angle_range; in lv_meter_set_scale_range() 359 scale->rotation + scale->angle_range); in draw_arcs() 361 scale->rotation + scale->angle_range); in draw_arcs() 478 …int32_t angle_upscale = ((i * scale->angle_range) * 10) / (scale->tick_cnt - 1) + + scale->rotati… in draw_ticks_and_labels() 582 …p(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation + scale->angle_range); in draw_needles() 602 …p(indic->end_value, scale->min, scale->max, scale->rotation, scale->rotation + scale->angle_range); in draw_needles() 644 …le = lv_map(old_value, scale->min, scale->max, scale->rotation, scale->angle_range + scale->rotati… in inv_arc() [all …]
|
D | lv_meter.h | 49 uint16_t angle_range; member 170 …ale_range(lv_obj_t * obj, lv_meter_scale_t * scale, int32_t min, int32_t max, uint32_t angle_range,
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | meter.md | 27 `lv_meter_set_scale_range(meter, scale, min, max, angle_range, rotation)` sets the value and angle …
|