Audacity  2.2.0
Envelope.cpp File Reference
#include "Envelope.h"
#include "Experimental.h"
#include "ViewInfo.h"
#include <math.h>
#include <wx/dc.h>
#include <wx/brush.h>
#include <wx/event.h>
#include <wx/pen.h>
#include <wx/textfile.h>
#include <wx/log.h>
#include "AColor.h"
#include "DirManager.h"
#include "TrackArtist.h"
#include "TrackPanelDrawingContext.h"
#include "tracks/ui/EnvelopeHandle.h"

Functions

static void DrawPoint (wxDC &dc, const wxRect &r, int x, int y, bool top)
 TODO: This should probably move to track artist. More...
 
static double InterpolatePoints (double y1, double y2, double factor, bool logarithmic)
 
static double IntegrateInterpolated (double y1, double y2, double time, bool logarithmic)
 
static double IntegrateInverseInterpolated (double y1, double y2, double time, bool logarithmic)
 
static double SolveIntegrateInverseInterpolated (double y1, double y2, double time, double area, bool logarithmic)
 
static void checkResult (int n, double a, double b)
 

Variables

static const double VALUE_TOLERANCE = 0.001
 

Function Documentation

static void checkResult ( int  n,
double  a,
double  b 
)
static

Referenced by Envelope::testMe().

static void DrawPoint ( wxDC &  dc,
const wxRect &  r,
int  x,
int  y,
bool  top 
)
static

TODO: This should probably move to track artist.

Referenced by Envelope::DrawPoints().

static double IntegrateInterpolated ( double  y1,
double  y2,
double  time,
bool  logarithmic 
)
static

Referenced by Envelope::Integral().

static double IntegrateInverseInterpolated ( double  y1,
double  y2,
double  time,
bool  logarithmic 
)
static
static double InterpolatePoints ( double  y1,
double  y2,
double  factor,
bool  logarithmic 
)
static
static double SolveIntegrateInverseInterpolated ( double  y1,
double  y2,
double  time,
double  area,
bool  logarithmic 
)
static

References min().

Referenced by Envelope::SolveIntegralOfInverse().

Variable Documentation

const double VALUE_TOLERANCE = 0.001
static