Engauge Digitizer  2
CoordScale.cpp
Go to the documentation of this file.
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #include "CoordScale.h"
8 
9 QString coordScaleToString (CoordScale coordScale)
10 {
11  QString rtn;
12 
13  switch (coordScale) {
14  case COORD_SCALE_LINEAR:
15  rtn ="Linear";
16  break;
17 
18  case COORD_SCALE_LOG:
19  rtn = "Log";
20  break;
21  }
22 
23  return rtn;
24 }
CoordScale
Definition: CoordScale.h:12
QString coordScaleToString(CoordScale coordScale)
Definition: CoordScale.cpp:9