Audacity 3.2.0
|
#include <WaveData.h>
Public Member Functions | |
void | AppendColumns (const WaveDisplayColumn *begin, const WaveDisplayColumn *end) |
WaveformDisplay (int w) | |
void | Allocate () |
~WaveformDisplay () | |
Public Attributes | |
int | width { 0 } |
WaveDisplayColumn * | columns { nullptr } |
PixelSampleMapper | mapper |
Private Attributes | |
std::vector< WaveDisplayColumn > | ownColums |
A bundle of data needed for drawing waveforms. The object may or may not own the storage for those arrays. If it does, it destroys them.
Definition at line 27 of file WaveData.h.
WaveformDisplay::WaveformDisplay | ( | int | w | ) |
|
default |
void WaveformDisplay::Allocate | ( | ) |
Definition at line 25 of file WaveData.cpp.
void WaveformDisplay::AppendColumns | ( | const WaveDisplayColumn * | begin, |
const WaveDisplayColumn * | end | ||
) |
Definition at line 18 of file WaveData.cpp.
References details::begin(), columns, details::end(), and ownColums.
WaveDisplayColumn* WaveformDisplay::columns { nullptr } |
Definition at line 32 of file WaveData.h.
Referenced by Allocate(), and AppendColumns().
PixelSampleMapper WaveformDisplay::mapper |
Definition at line 33 of file WaveData.h.
|
private |
Definition at line 39 of file WaveData.h.
Referenced by Allocate(), and AppendColumns().
int WaveformDisplay::width { 0 } |
Definition at line 30 of file WaveData.h.
Referenced by Allocate().