LMMS
Loading...
Searching...
No Matches
lmms::SampleThumbnail::VisualizeParameters Struct Reference

#include <SampleThumbnail.h>

Public Attributes

QRect sampleRect
 A rectangle that covers the entire range of samples.
QRect viewportRect
 sampleRect when null.
float amplification = 1.0f
 The amount of amplification to apply to the waveform.
float sampleStart = 0.0f
 Where the sample begins for drawing.
float sampleEnd = 1.0f
 Where the sample ends for drawing.
bool reversed = false
 Determines if the waveform is drawn in reverse or not.

Member Data Documentation

◆ amplification

float lmms::SampleThumbnail::VisualizeParameters::amplification = 1.0f

The amount of amplification to apply to the waveform.

◆ reversed

bool lmms::SampleThumbnail::VisualizeParameters::reversed = false

Determines if the waveform is drawn in reverse or not.

◆ sampleEnd

float lmms::SampleThumbnail::VisualizeParameters::sampleEnd = 1.0f

Where the sample ends for drawing.

◆ sampleRect

QRect lmms::SampleThumbnail::VisualizeParameters::sampleRect

A rectangle that covers the entire range of samples.

◆ sampleStart

float lmms::SampleThumbnail::VisualizeParameters::sampleStart = 0.0f

Where the sample begins for drawing.

◆ viewportRect

QRect lmms::SampleThumbnail::VisualizeParameters::viewportRect

sampleRect when null.

Specifies the location in sampleRect where the waveform will be drawn. Equals


The documentation for this struct was generated from the following file: