11#ifndef __AUDACITY_ENVELOPE_EDITOR__
12#define __AUDACITY_ENVELOPE_EDITOR__
25 static void DrawPoints(
29 bool dB,
double dBRange,
30 float zoomMin,
float zoomMax,
bool mirrored,
int origin = 0);
37 bool MouseEvent(
const wxMouseEvent & event, wxRect & r,
38 const ZoomInfo &zoomInfo,
bool dB,
double dBRange,
39 float zoomMin = -1.0,
float zoomMax = 1.0);
42 bool HandleMouseButtonDown(
const wxMouseEvent & event, wxRect & r,
43 const ZoomInfo &zoomInfo,
bool dB,
double dBRange,
44 float zoomMin = -1.0,
float zoomMax = 1.0);
45 bool HandleDragging(
const wxMouseEvent & event, wxRect & r,
46 const ZoomInfo &zoomInfo,
bool dB,
double dBRange,
47 float zoomMin = -1.0,
float zoomMax = 1.0,
float eMin = 0.,
float eMax = 2.);
48 bool HandleMouseButtonUp();
52 bool dB,
double dBRange,
53 float zoomMin,
float zoomMax);
54 void MoveDragPoint(
const wxMouseEvent & event, wxRect & r,
55 const ZoomInfo &zoomInfo,
bool dB,
double dBRange,
56 float zoomMin,
float zoomMax);
float ValueOfPixel(int yy, int height, bool offset, bool dB, double dBRange, float zoomMin, float zoomMax)
int mContourOffset
Number of pixels contour is from the true envelope.
Piecewise linear or piecewise exponential function from double to double.