--- 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; };