2
creates an image of the spectrum analyser peaks
3
Copyright (C) 1998 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
15
#ifndef __SPECTRUMIMAGE_H
16
#define __SPECTRUMIMAGE_H
24
This class creates an image in which each column
25
represent a spectrum analyser peak with.
26
A 100%peak is a smooth color gradient from green-yellow-red.
27
The 99% peak is the 100 percent peak shifted to left with a
28
black pixel on the right.
31
A spectrum drawer can access the resulting image very fast.
33
The class has 101 entries. Each column has <width> RGB elements.
34
the 0th entry is the 100% peak the 100th entry is black.
48
SpectrumImage(int height, int width);
53
void fillImage(float *data);