From 74551d71e128efe0f105b52e84420555b70b9f6d Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Wed, 1 Aug 2018 17:23:00 +0200 Subject: added rotation --- src/data/graph.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/data/graph.h') diff --git a/src/data/graph.h b/src/data/graph.h index e9e2218..404fd8c 100644 --- a/src/data/graph.h +++ b/src/data/graph.h @@ -103,6 +103,14 @@ public: * vertically */ void reflectNodes(QSet nds, bool horizontal); + + /*! + * \brief rotateNodes rotates the given set of nodes clockwise or counter-clockwise, + * depending on the value of the second parameter. + * \param nds a set of nodes to flip + * \param clockwose a boolean determining whether to rotate clockwise or counter-clockwise + */ + void rotateNodes(QSet nds, bool clockwise); signals: public slots: -- cgit v1.2.3