src/grid.h

changeset 1184
393babf1319d
parent 1181
ca6d0ef9aadb
child 1193
b78b6cf02213
child 1326
69a90bd2dba2
--- a/src/grid.h	Sun Mar 05 01:48:46 2017 +0200
+++ b/src/grid.h	Sun Mar 05 01:57:56 2017 +0200
@@ -24,7 +24,7 @@
 public:
 	Grid(QObject* parent);
 
-	enum Type
+	enum Size
 	{
 		Coarse,
 		Medium,
@@ -37,6 +37,12 @@
 		Angle
 	};
 
+	enum Type
+	{
+		Cartesian,
+		Polar
+	};
+
 	qreal angleSnap() const;
 	qreal angleAsRadians() const;
 	int bezierCurveSegments() const;
@@ -44,5 +50,6 @@
 	QPointF pole() const;
 	int polarDivisions() const;
 	QPointF snap(QPointF point) const;
+	Type type() const;
 };
 

mercurial