Lines Matching refs:poly
775 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()
870 poly[0].x = center.x - x1_out; in spectrum_draw_event_cb()
871 poly[1].x = center.x - x1_in; in spectrum_draw_event_cb()
872 poly[2].x = center.x - x2_in; in spectrum_draw_event_cb()
873 poly[3].x = center.x - x2_out; in spectrum_draw_event_cb()
874 lv_draw_polygon(draw_ctx, &draw_dsc, poly, 4); in spectrum_draw_event_cb()