mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-04 21:50:51 +01:00
Move AudacityProject::GetZoomOf*
This commit is contained in:
@@ -85,12 +85,14 @@ public:
|
||||
static double GetDefaultZoom()
|
||||
{ return 44100.0 / 512.0; }
|
||||
|
||||
// There is NO GetZoom()!
|
||||
// Use TimeToPosition and PositionToTime and OffsetTimeByPixels!
|
||||
|
||||
// Limits zoom to certain bounds
|
||||
void SetZoom(double pixelsPerSecond);
|
||||
double GetZoom();
|
||||
|
||||
// This function should not be used to convert positions to times and back
|
||||
// Use TimeToPosition and PositionToTime and OffsetTimeByPixels instead
|
||||
double GetZoom() const;
|
||||
|
||||
static double GetMaxZoom( );
|
||||
static double GetMinZoom( );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user