Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_lmeter.c75 ext->scale_angle = 240; /*(scale_num - 1) * N looks better */ in lv_lmeter_create()
96 ext->scale_angle = copy_ext->scale_angle; in lv_lmeter_create()
163 if(ext->scale_angle == angle && ext->line_cnt == line_cnt) return; in lv_lmeter_set_scale()
165 ext->scale_angle = angle; in lv_lmeter_set_scale()
227 return ext->scale_angle; in lv_lmeter_get_scale_angle()
271 int16_t angle_ofs = 90 + (360 - ext->scale_angle) / 2; in lv_lmeter_design()
284 int16_t angle = (i * ext->scale_angle) / (ext->line_cnt - 1) + angle_ofs; in lv_lmeter_design()
A Dlv_lmeter.h38 uint16_t scale_angle; /*Angle of the scale in deg. (0..360)*/ member
A Dlv_gauge.c352 int16_t scale_angle = lv_lmeter_get_scale_angle(gauge); in lv_gauge_draw_scale() local
354 int16_t angle_ofs = 90 + (360 - scale_angle) / 2; in lv_gauge_draw_scale()
361 int16_t angle = (i * scale_angle) / (label_num - 1) + angle_ofs; in lv_gauge_draw_scale()

Completed in 4 milliseconds