Home
last modified time | relevance | path

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

/lvgl-latest/examples/event/
Dlv_example_event_4.c41 lv_coord_t x = 150 + (r * lv_trigo_cos(angle) >> LV_TRIGO_SHIFT), y = in event_cb()
/lvgl-latest/src/misc/
Dlv_math.h49 static inline int16_t LV_ATTRIBUTE_FAST_MEM lv_trigo_cos(int16_t angle) in lv_trigo_cos() function
/lvgl-latest/src/extra/widgets/colorwheel/
Dlv_colorwheel.c290 p[0].y = cy + ((r + cir_w_extra) * lv_trigo_cos(angle_trigo) >> LV_TRIGO_SHIFT); in draw_disc_grad()
292 p[1].y = cy + ((r - cir_w - cir_w_extra) * lv_trigo_cos(angle_trigo) >> LV_TRIGO_SHIFT); in draw_disc_grad()
557 colorwheel->knob.pos.y = (((int32_t)r * lv_trigo_cos(angle)) >> LV_TRIGO_SHIFT); in refr_knob_pos()
/lvgl-latest/src/draw/nxp/vglite/
Dlv_draw_vglite_arc.c263 …*x = ((lv_trigo_cos(alpha) * ori_x) / LV_TRIGO_SIN_MAX) - ((lv_trigo_sin(alpha) * ori_y) / LV_TRIG… in rotate_point()
264 …*y = ((lv_trigo_sin(alpha) * ori_x) / LV_TRIGO_SIN_MAX) + ((lv_trigo_cos(alpha) * ori_y) / LV_TRIG… in rotate_point()
/lvgl-latest/src/extra/widgets/meter/
Dlv_meter.c586 p_end.x = (lv_trigo_cos(angle) * (r_out)) / LV_TRIGO_SIN_MAX + scale_center.x; in draw_needles()
670 p_end.x = (lv_trigo_cos(angle) * (r_out)) / LV_TRIGO_SIN_MAX + scale_center.x; in inv_line()
/lvgl-latest/demos/music/
Dlv_demo_music_main.c739 int32_t r = (lv_trigo_cos(deg) * a); in get_cos()