Engauge Digitizer
2
Loading...
Searching...
No Matches
Coord
CoordsType.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 "
CoordsType.h
"
8
9
QString
coordsTypeToString
(
CoordsType
coordsType)
10
{
11
QString rtn;
12
13
switch
(coordsType) {
14
case
COORDS_TYPE_CARTESIAN
:
15
rtn =
"Cartesian"
;
16
break
;
17
18
case
COORDS_TYPE_POLAR
:
19
rtn =
"Polar"
;
20
break
;
21
}
22
23
return
rtn;
24
}
coordsTypeToString
QString coordsTypeToString(CoordsType coordsType)
Definition
CoordsType.cpp:9
CoordsType.h
CoordsType
CoordsType
Definition
CoordsType.h:12
COORDS_TYPE_POLAR
@ COORDS_TYPE_POLAR
Definition
CoordsType.h:14
COORDS_TYPE_CARTESIAN
@ COORDS_TYPE_CARTESIAN
Definition
CoordsType.h:13
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0