Draw.rect = function(x, y, w, h) {
  Canvas.context.beginPath();
  switch(Draw.currentRectMode) {
    case CENTER: Canvas.ellipse(x, y, w, h, 0, 0, 6.3) break;
    case CORNER: Canvas.ellipse(x - w/2, y - h/2, w, h, 0, 0, 6.3) break;
    case CORNERS: Canvas.ellipse(x - w/2, y - h/2, w, h, 0, 0, 6.3) break;
    case RADIUS: Canvas.ellipse(x, y, w * 2, h * 2, 0, 0, 6.3) break;
  }
  Canvas.context.fill();
  Canvas.context.stroke();
};

@@ -2,12 +2,15 @@
 raw.
-rect
+ellipse
  = f
@@ -86,12 +86,15 @@
 rent
-Rect
+Ellipse
 Mode
@@ -113,32 +113,40 @@
  CENTER: Canvas.
+context.
 ellipse(x, y, w,
@@ -151,32 +151,33 @@
 w, h, 0, 0, 6.3)
+;
  break;%0A    case
@@ -184,32 +184,40 @@
  CORNER: Canvas.
+context.
 ellipse(x - w/2,
@@ -234,32 +234,33 @@
 w, h, 0, 0, 6.3)
+;
  break;%0A    case
@@ -268,32 +268,40 @@
 CORNERS: Canvas.
+context.
 ellipse(x - w/2,
@@ -318,32 +318,33 @@
 w, h, 0, 0, 6.3)
+;
  break;%0A    case
@@ -359,16 +359,24 @@
  Canvas.
+context.
 ellipse(
@@ -405,16 +405,17 @@
  0, 6.3)
+;
  break;%0A

Update ellipse.js