drawing events, active edges