lmms
Cross-platform music production software
Loading...
Searching...
No Matches
lmms::gui::SampleThumbnailRenderer::VisualizeParameters Struct Reference

#include <SampleThumbnailRenderer.h>

Public Attributes

const SampleThumbnailCache * cache
 < The sample thumbnail cache to use.
QRectF rect
 Where the sample begins for drawing.
double sampleStart = 0.f
 Where the sample ends for drawing.
double sampleEnd = 1.f
 The amount of amplification to apply to the waveform.
float amplification = 1.0f
 Determines if the waveform is drawn in reverse or not.
bool reversed = false

Member Data Documentation

◆ amplification

float lmms::gui::SampleThumbnailRenderer::VisualizeParameters::amplification = 1.0f

Determines if the waveform is drawn in reverse or not.

◆ cache

const SampleThumbnailCache* lmms::gui::SampleThumbnailRenderer::VisualizeParameters::cache

< The sample thumbnail cache to use.

A rectangle that covers the entire range of samples from [sampleStart, sampleEnd) rect must share the same coordinate system as that of the painter in which it is drawn with.

◆ rect

QRectF lmms::gui::SampleThumbnailRenderer::VisualizeParameters::rect

Where the sample begins for drawing.

◆ reversed

bool lmms::gui::SampleThumbnailRenderer::VisualizeParameters::reversed = false

◆ sampleEnd

double lmms::gui::SampleThumbnailRenderer::VisualizeParameters::sampleEnd = 1.f

The amount of amplification to apply to the waveform.

◆ sampleStart

double lmms::gui::SampleThumbnailRenderer::VisualizeParameters::sampleStart = 0.f

Where the sample ends for drawing.


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