Searched refs:scale_angle (Results 1 – 3 of 3) sorted by relevance
77 ext->scale_angle = 240; in lv_linemeter_create()93 ext->scale_angle = copy_ext->scale_angle; in lv_linemeter_create()149 int16_t angle_ofs = ext->angle_ofs + 90 + (360 - ext->scale_angle) / 2; in lv_linemeter_set_value()155 int32_t angle_old = (level_old * ext->scale_angle) / (ext->line_cnt - 1); in lv_linemeter_set_value()167 int32_t angle_new = (level_new * ext->scale_angle) / (ext->line_cnt - 1); in lv_linemeter_set_value()250 if(ext->scale_angle == angle && ext->line_cnt == line_cnt) return; in lv_linemeter_set_scale()252 ext->scale_angle = angle; in lv_linemeter_set_scale()354 return ext->scale_angle; in lv_linemeter_get_scale_angle()395 int16_t angle_ofs = ext->angle_ofs + 90 + (360 - ext->scale_angle) / 2; in lv_linemeter_draw_scale()443 int32_t angle_upscale = (i * ext->scale_angle * 256) / (ext->line_cnt - 1); in lv_linemeter_draw_scale()[all …]
33 uint16_t scale_angle; /*Angle of the scale in deg. (0..360)*/ member
520 int16_t scale_angle = lv_linemeter_get_scale_angle(gauge); in lv_gauge_draw_labels() local522 int16_t angle_ofs = 90 + (360 - scale_angle) / 2 + lv_gauge_get_angle_offset(gauge); in lv_gauge_draw_labels()533 int16_t angle = (i * scale_angle) / (label_num - 1) + angle_ofs; in lv_gauge_draw_labels()