MCPcopy Create free account
hub / github.com/audacity/audacity / OnPaint

Method OnPaint

src/effects/DynamicRangeProcessorTransferFunctionPanel.cpp:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127} // namespace
128
129void DynamicRangeProcessorTransferFunctionPanel::OnPaint(wxPaintEvent& evt)
130{
131 wxPaintDC dc(this);
132 const auto rect = DynamicRangeProcessorPanel::GetPanelRect(*this);
133 DrawTransferFunction(dc, rect, mCompressorSettings);
134 dc.SetPen(DynamicRangeProcessorPanel::lineColor);
135 dc.SetBrush(*wxTRANSPARENT_BRUSH);
136 dc.DrawRectangle(rect);
137}
138
139void DynamicRangeProcessorTransferFunctionPanel::OnSize(wxSizeEvent& evt)
140{

Callers

nothing calls this directly

Calls 2

GetPanelRectFunction · 0.85
DrawTransferFunctionFunction · 0.85

Tested by

no test coverage detected