diff --git a/examples/Tools/.SVGCircles.html.swp b/examples/Tools/.SVGCircles.html.swp
new file mode 100644
index 00000000..56100d52
Binary files /dev/null and b/examples/Tools/.SVGCircles.html.swp differ
diff --git a/examples/Tools/.SVGRect.html.swp b/examples/Tools/.SVGRect.html.swp
new file mode 100644
index 00000000..0e8ea133
Binary files /dev/null and b/examples/Tools/.SVGRect.html.swp differ
diff --git a/examples/Tools/SVGCircles.html b/examples/Tools/SVGCircles.html
index 1878f18a..9468bed8 100644
--- a/examples/Tools/SVGCircles.html
+++ b/examples/Tools/SVGCircles.html
@@ -2,7 +2,7 @@
- Circles
+ SVGCircles
@@ -15,15 +15,34 @@
};
var path;
- function onMouseDrag(event) {
- // The radius is the distance between the position
- // where the user clicked and the current position
- // of the mouse.
- var radius = (event.downPoint - event.point).length;
- path = new Path.Circle(event.downPoint, radius);
+ function onMouseDown(event)
+ {
+ var radius = 100;
+ path = new Path.Circle(event.point, radius);
+ path.selected = true;
var svg = new ExportSVG();
var svgout = svg.exportPath(path);
console.log(svgout);
+
+ //making A new circle at a certain point
+ leftPoint = new Point(44,107);
+
+ var leftToTopHandle = new Point(0,55.22847);
+ var leftToTopHandle2 = new Point(0, -55.228);
+
+ rightPoint = new Point(244,107);
+
+ bottomPoint = new Point(144,207);
+
+ topPoint = new Point(144,7);
+
+ path2 = new Path(leftPoint);
+ path2.arcTo(topPoint, true);
+
+
+
+
+
path.removeOnDrag();
};
diff --git a/examples/Tools/SVGRect.html b/examples/Tools/SVGRect.html
new file mode 100644
index 00000000..becba17d
--- /dev/null
+++ b/examples/Tools/SVGRect.html
@@ -0,0 +1,32 @@
+
+
+
+
+ SVGRect
+
+
+
+
+
+
+
+
+
diff --git a/src/path/.Path.Constructors.js.swp b/src/path/.Path.Constructors.js.swp
new file mode 100644
index 00000000..f5c885e4
Binary files /dev/null and b/src/path/.Path.Constructors.js.swp differ