コード例 #1
0
 public WaterfallLine(WaterfallSpectrumScreen _root, int _size, double _fmax)
 {
     empty = true;
     root  = _root;
     size  = _size;
     data  = new float[size];
     fmax  = _fmax;
 }
コード例 #2
0
 public WaterfallLineFIFO(WaterfallSpectrumScreen _root, int _size, int _initialblocksize, double _initialfmax, int _width, int _height)
 {
     size  = _size;
     root  = _root;
     lines = new WaterfallLine[size];
     for (int i = 0; i < size; i++)
     {
         lines[i] = new WaterfallLine(_root, _initialblocksize, _initialfmax);
     }
     write = 0;
     fill  = 0;
     newBitmap(_width, _height);
     missingLines = 0;
 }