src/editmodes/circlemode.h

changeset 823
1a2f593f0c02
child 824
6add2126e7ff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/editmodes/circlemode.h	Fri Jul 04 22:19:01 2014 +0300
@@ -0,0 +1,15 @@
+#include "abstracteditmode.h"
+
+class CircleMode : public AbstractDrawMode
+{
+	DEFINE_CLASS (CircleMode, AbstractDrawMode)
+
+public:
+	CircleMode (GLRenderer* renderer);
+
+	virtual void render (QPainter& painter) const override;
+	virtual EditModeType type() const override;
+
+	double					getCircleDrawDist (int pos) const;
+	Matrix					getCircleDrawMatrix (double scale);
+};

mercurial