Lines Matching refs:center
776 lv_point_t center; in spectrum_draw_event_cb() local
777 center.x = obj->coords.x1 + lv_obj_get_width(obj) / 2; in spectrum_draw_event_cb()
778 center.y = obj->coords.y1 + lv_obj_get_height(obj) / 2; in spectrum_draw_event_cb()
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()
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()