Copyright © 2013-2017 MultiMedia Soft

WANALYZER_WAVE_RANGE structure

Previous pageReturn to chapter overviewNext page

The WANALYZER_WAVE_RANGE structure describes settings applied to a waveform range added to the Waveform Analyzer through the GraphicItemWaveRangeAdd method. The current settings can be retrieved through the GraphicItemWaveRangeParamsGet method and modified through the GraphicItemWaveRangeParamsSett method.

 

 

C# definition

 

public struct WANALYZER_WAVE_RANGE

{

     public Color colorBack;

     public Color colorWaveLinePeak;

     public Color colorWaveLineCenter;

};

 

Inside the screenshot below you can see 2 examples of wave ranges, each with its own set of colors. Please note that "wave ranges" are a different concept respect to "waveform selection": you can only have one single "waveform selection", whose positioning can be managed through code or through mouse movement, but you can have multiple "wave ranges" managed through code without any mouse management for changing the positioning.

 

 

Member

Description

 

 

colorBack

Color used for rendering the waveform background.

colorWaveLinePeak

Color used for rendering the peak of the waveform line

colorWaveLineCenter

Color used for rendering the center of the waveform line

 

 

NOTE: If values of the colorWaveLineCenter e colorWaveLinePeak fields should be identical, the rendering would keep count of the bUseHalfColorsForPeaks field of the WANALYZER_WAVEFORM_SETTINGS data structure.