35 { |
35 { |
36 Coordinate, |
36 Coordinate, |
37 Angle |
37 Angle |
38 }; |
38 }; |
39 |
39 |
|
40 enum Type |
|
41 { |
|
42 Cartesian, |
|
43 Polar |
|
44 }; |
|
45 |
40 qreal angleSnap() const; |
46 qreal angleSnap() const; |
41 qreal angleAsRadians() const; |
47 qreal angleAsRadians() const; |
42 int bezierCurveSegments() const; |
48 int bezierCurveSegments() const; |
43 qreal coordinateSnap() const; |
49 qreal coordinateSnap() const; |
44 QPointF pole() const; |
50 QPointF pole() const; |
45 int polarDivisions() const; |
51 int polarDivisions() const; |
46 QPointF snap(QPointF point) const; |
52 QPointF snap(QPointF point) const; |
|
53 Type type() const; |
47 }; |
54 }; |
48 |
55 |