Engauge Digitizer  2
MigrateToVersion6.h
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 #ifndef MIGRATE_TO_VERSION_6_H
8 #define MIGRATE_TO_VERSION_6_H
9 
10 #include "ColorPalette.h"
11 #include "CurveConnectAs.h"
12 #include "PointShape.h"
13 
16 {
17  public:
20 
22  ColorPalette colorPalette (int preVersion6) const;
23 
25  CurveConnectAs curveConnectAs (int preVersion6) const;
26 
28  PointShape pointShape (int preVersion6) const;
29 
31  int pointRadius (int preVersion6) const;
32 };
33 
34 #endif // MIGRATE_TO_VERSION_6_H
int pointRadius(int preVersion6) const
Point radius.
Converts old (=pre version 6) enums to new (=version 6) enums, for reading of old document files...
CurveConnectAs curveConnectAs(int preVersion6) const
Line drawn between points.
ColorPalette colorPalette(int preVersion6) const
Color from color palette.
PointShape pointShape(int preVersion6) const
Point shape.
MigrateToVersion6()
Single constructor.