MouseTester.MousePlot.plot_x_vs_y C# (CSharp) Method

plot_x_vs_y() private method

private plot_x_vs_y ( MouseTester.MouseLog mlog, double delay, GraphComponents main_comp, GraphComponents sec_comp ) : void
mlog MouseTester.MouseLog
delay double
main_comp GraphComponents
sec_comp GraphComponents
return void
        private void plot_x_vs_y(MouseLog mlog, double delay, GraphComponents main_comp, GraphComponents sec_comp)
        {
            double x = 0.0;
            double y = 0.0;
            for (int i = last_start; i <= last_end; i++)
            {
                if (events[i].hDevice != mlog.hDevice)
                    continue;

                x += events[i].lastx;
                y += events[i].lasty;
                update_minmax(x, x);
                update_minmax(y, y);
                main_comp.Add(x, y, false);
            }
        }