Hi All,
Is this possible for blurring a spectrum plot? I wanted to add a form of image feedback. Could I use the ScopedSaveState?
void paint (Graphics& g) override
{
spectrumFeedBack.multiplyAllAlphas (0.5f);
g.drawImageAt(spectrumFeedBack, 0, 0, false);
//other drawing code here
}
void timerCallback() override
{
if ( processor.checkForNewData() )
{
//set the spectrum plot from the processor
repaint ();
spectrumFeedBack = createComponentSnapshot (getLocalBounds(), false);
}
}
private:
Image spectrumFeedBack;
Thank you all