src/grid.cpp

changeset 1125
d8f94e56d42e
parent 1072
9ce9496427f2
child 1179
1a9ffd5e0399
equal deleted inserted replaced
1124:bd151d5c42e6 1125:d8f94e56d42e
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 #include "grid.h" 19 #include "grid.h"
20 #include "configuration.h" 20 #include "configuration.h"
21
22
23 ConfigOption (int Grid = 1)
24 ConfigOption (qreal GridCoarseCoordinateSnap = 5.0)
25 ConfigOption (qreal GridCoarseAngleSnap = 45.0)
26 ConfigOption (int GridCoarseBezierCurveSegments = 8)
27 ConfigOption (qreal GridMediumCoordinateSnap = 1.0)
28 ConfigOption (qreal GridMediumAngleSnap = 22.5)
29 ConfigOption (qreal GridMediumBezierCurveSegments = 16)
30 ConfigOption (qreal GridFineCoordinateSnap = 0.1)
31 ConfigOption (qreal GridFineAngleSnap = 7.5)
32 ConfigOption (qreal GridFineBezierCurveSegments = 32)
33 ConfigOption (int RotationPointType = 0)
34 ConfigOption (Vertex CustomRotationPoint = Origin)
35
36 21
37 Grid::Grid(QObject* parent) : 22 Grid::Grid(QObject* parent) :
38 HierarchyElement(parent) {} 23 HierarchyElement(parent) {}
39 24
40 25

mercurial