#include <wave_view_private.h>
Definition at line 33 of file wave_view_private.h.
◆ WaveViewProperties()
ArdourWaveView::WaveViewProperties::WaveViewProperties |
( |
std::shared_ptr< ARDOUR::AudioRegion > |
region | ) |
|
◆ contains()
bool ArdourWaveView::WaveViewProperties::contains |
( |
samplepos_t |
start, |
|
|
samplepos_t |
end |
|
) |
| |
|
inline |
◆ get_center_sample()
samplepos_t ArdourWaveView::WaveViewProperties::get_center_sample |
( |
| ) |
const |
|
inline |
◆ get_length_samples()
◆ get_sample_end()
samplepos_t ArdourWaveView::WaveViewProperties::get_sample_end |
( |
| ) |
const |
|
inline |
◆ get_sample_start()
samplepos_t ArdourWaveView::WaveViewProperties::get_sample_start |
( |
| ) |
const |
|
inline |
◆ get_width_pixels()
uint64_t ArdourWaveView::WaveViewProperties::get_width_pixels |
( |
| ) |
const |
|
inline |
◆ is_equivalent()
bool ArdourWaveView::WaveViewProperties::is_equivalent |
( |
WaveViewProperties const & |
other | ) |
|
|
inline |
◆ is_valid()
bool ArdourWaveView::WaveViewProperties::is_valid |
( |
| ) |
const |
|
inline |
◆ set_sample_offsets()
void ArdourWaveView::WaveViewProperties::set_sample_offsets |
( |
samplepos_t const |
start, |
|
|
samplepos_t const |
end |
|
) |
| |
|
inline |
◆ set_sample_positions_from_pixel_offsets()
void ArdourWaveView::WaveViewProperties::set_sample_positions_from_pixel_offsets |
( |
double |
start_pixel, |
|
|
double |
end_pixel |
|
) |
| |
|
inline |
It is possible for the new sample positions to be past the region_end, so we have to do bounds checking/adjustment for this in set_sample_offsets.
Definition at line 125 of file wave_view_private.h.
◆ set_width_samples()
void ArdourWaveView::WaveViewProperties::set_width_samples |
( |
ARDOUR::samplecnt_t const |
width_samples | ) |
|
|
inline |
◆ amplitude
double ArdourWaveView::WaveViewProperties::amplitude |
◆ amplitude_above_axis
double ArdourWaveView::WaveViewProperties::amplitude_above_axis |
◆ channel
uint16_t ArdourWaveView::WaveViewProperties::channel |
◆ clip_color
◆ fill_color
◆ gradient_depth
double ArdourWaveView::WaveViewProperties::gradient_depth |
◆ height
double ArdourWaveView::WaveViewProperties::height |
◆ logscaled
bool ArdourWaveView::WaveViewProperties::logscaled |
◆ outline_color
◆ region_end
samplepos_t ArdourWaveView::WaveViewProperties::region_end |
◆ region_start
samplepos_t ArdourWaveView::WaveViewProperties::region_start |
◆ sample_end
samplepos_t ArdourWaveView::WaveViewProperties::sample_end |
|
private |
◆ sample_start
samplepos_t ArdourWaveView::WaveViewProperties::sample_start |
|
private |
◆ samples_per_pixel
double ArdourWaveView::WaveViewProperties::samples_per_pixel |
◆ shape
◆ show_zero
bool ArdourWaveView::WaveViewProperties::show_zero |
◆ start_shift
double ArdourWaveView::WaveViewProperties::start_shift |
◆ zero_color
The documentation for this struct was generated from the following file: