![]() |
Audacity 3.2.0
|
Functions | |
constexpr auto | WidthPxToDb (double x, int width, double xPixelsPerDb) |
constexpr auto | WidthDbToPx (double db, int width, double xPixelsPerDb) |
constexpr auto | HeightDbToPx (double db, double yPixelsPerDb) |
auto | GetBrush (double kneeX, double kneeY, const wxColor &colorAtKnee, const wxSize &size, const wxGraphicsContext &gc) |
void | DrawTransferFunction (wxPaintDC &dc, const wxRect &rect, const CompressorSettings &settings) |
void anonymous_namespace{DynamicRangeProcessorTransferFunctionPanel.cpp}::DrawTransferFunction | ( | wxPaintDC & | dc, |
const wxRect & | rect, | ||
const CompressorSettings & | settings | ||
) |
Definition at line 71 of file DynamicRangeProcessorTransferFunctionPanel.cpp.
References DynamicRangeProcessorPanel::attackColor, CompressorProcessor::EvaluateTransferFunction(), GetBrush(), HeightDbToPx(), DynamicRangeProcessorPanel::MakeGraphicsContext(), DynamicRangeProcessorTransferFunctionPanel::rangeDb, DynamicRangeProcessorPanel::releaseColor, settings(), DynamicRangeProcessorPanel::targetCompressionColor, DynamicRangeProcessorPanel::targetCompressionLineWidth, WidthDbToPx(), and WidthPxToDb().
Referenced by DynamicRangeProcessorTransferFunctionPanel::OnPaint().
auto anonymous_namespace{DynamicRangeProcessorTransferFunctionPanel.cpp}::GetBrush | ( | double | kneeX, |
double | kneeY, | ||
const wxColor & | colorAtKnee, | ||
const wxSize & | size, | ||
const wxGraphicsContext & | gc | ||
) |
Definition at line 56 of file DynamicRangeProcessorTransferFunctionPanel.cpp.
References DynamicRangeProcessorPanel::backgroundColor, DynamicRangeProcessorPanel::GetColorMix(), and size.
Referenced by DrawTransferFunction().
|
constexpr |
Definition at line 51 of file DynamicRangeProcessorTransferFunctionPanel.cpp.
Referenced by DrawTransferFunction().
|
constexpr |
Definition at line 46 of file DynamicRangeProcessorTransferFunctionPanel.cpp.
Referenced by DrawTransferFunction().
|
constexpr |
Definition at line 41 of file DynamicRangeProcessorTransferFunctionPanel.cpp.
Referenced by DrawTransferFunction().