Home
last modified time | relevance | path

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

/lvgl-3.7.0/demos/music/
Dlv_demo_music_main.c775 lv_point_t poly[4]; in spectrum_draw_event_cb() local
852 poly[0].x = center.x + x1_out; in spectrum_draw_event_cb()
853 poly[0].y = center.y + get_sin(di, v); in spectrum_draw_event_cb()
856 poly[1].x = center.x + x1_in; in spectrum_draw_event_cb()
857 poly[1].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb()
861 poly[2].x = center.x + x2_in; in spectrum_draw_event_cb()
862 poly[2].y = center.y + get_sin(di, r_in); in spectrum_draw_event_cb()
865 poly[3].x = center.x + x2_out; in spectrum_draw_event_cb()
866 poly[3].y = center.y + get_sin(di, v); in spectrum_draw_event_cb()
868 lv_draw_polygon(draw_ctx, &draw_dsc, poly, 4); in spectrum_draw_event_cb()
[all …]