ATMLWorkBench.controls.SignalPlotter.DoPage C# (CSharp) Метод

DoPage() защищенный Метод

protected DoPage ( Graphics grfx, Color clr, int cx, int cy ) : void
grfx System.Drawing.Graphics
clr Color
cx int
cy int
Результат void
        protected void DoPage(Graphics grfx, Color clr, int cx, int cy)
        {
            PointF[] aptf = new PointF[cx];

            for( int i = 0; i < cx; i++ )
            {
                aptf[i].X = i;
                aptf[i].Y = SupCarSignal(.3f, 1f, 1000f, 10000f, i);
                    //cy / 2 * ( 1 - (float)Math.Sin(i * 2 * Math.PI / ( cx - 1 )) );
            }
            grfx.DrawLines(new Pen(clr), aptf);
        }