Searched refs:lv_trigo_cos (Results 1 – 6 of 6) sorted by relevance
41 lv_coord_t x = 150 + (r * lv_trigo_cos(angle) >> LV_TRIGO_SHIFT), y = in event_cb()
49 static inline int16_t LV_ATTRIBUTE_FAST_MEM lv_trigo_cos(int16_t angle) in lv_trigo_cos() function
290 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()
263 …*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()
586 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()
739 int32_t r = (lv_trigo_cos(deg) * a); in get_cos()