<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -232,6 +232,15 @@ Primer.Layer.prototype = {
   
   /* meta canvas api */
   
+  rect: function(x, y, w, h) {
+    this.beginPath()
+    this.moveTo(x, y)
+    this.lineTo(x + w, y)
+    this.lineTo(x + w, y + h)
+    this.lineTo(x, y + h)
+    this.lineTo(x, y)
+  },
+  
   roundedRect: function(x, y, w, h, rad) {
     this.beginPath()
     this.moveTo(x, y + rad);
@@ -272,6 +281,7 @@ Primer.Layer.prototype = {
         case &quot;arc&quot;:              this.context.arc(call[1], call[2], call[3], call[4], call[5], call[6]); break
         case &quot;fill&quot;:             this.context.fill(); break
         case &quot;stroke&quot;:           this.context.stroke(); break
+        
         case &quot;fillText&quot;:         this.extFillText(call[1], call[2], call[3], call[4]); break
         case &quot;textAlign&quot;:        this.context.ext.textAlign = call[1]
         case &quot;font&quot;:             this.context.ext.font = call[1]
@@ -311,11 +321,13 @@ Primer.Layer.prototype = {
       var call = this.calls[i]
       
       switch(call[0]) {
-        case &quot;fillRect&quot;:    this.ghostFillRect(e, call[1], call[2], call[3], call[4]); break
-        case &quot;beginPath&quot;:   this.context.beginPath(); break
-        case &quot;moveTo&quot;:      this.context.moveTo(call[1], call[2]); break
-        case &quot;lineTo&quot;:      this.context.lineTo(call[1], call[2]); break
-        case &quot;fill&quot;:        this.ghostFill(e); break
+        case &quot;fillRect&quot;:         this.ghostFillRect(e, call[1], call[2], call[3], call[4]); break
+        case &quot;beginPath&quot;:        this.context.beginPath(); break
+        case &quot;moveTo&quot;:           this.context.moveTo(call[1], call[2]); break
+        case &quot;lineTo&quot;:           this.context.lineTo(call[1], call[2]); break
+        case &quot;quadraticCurveTo&quot;: this.context.quadraticCurveTo(call[1], call[2], call[3], call[4]); break
+        case &quot;arc&quot;:              this.context.arc(call[1], call[2], call[3], call[4], call[5], call[6]); break
+        case &quot;fill&quot;:             this.ghostFill(e); break
       }
     }
     </diff>
      <filename>primer.js</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@
         box.stroke()
         box.visible = true
         
-        box.x = 10
+        // box.x = 10
         
         p1.addChild(box)
         </diff>
      <filename>test/hit_test.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ce41a95332d2fc6e2ba6b7c72ba9534b9bc56993</id>
    </parent>
  </parents>
  <author>
    <name>Tom Preston-Werner</name>
    <email>tom@mojombo.com</email>
  </author>
  <url>http://github.com/mojombo/primer/commit/ee5d855e5d5c39ba317c637886558de7d8fd3e27</url>
  <id>ee5d855e5d5c39ba317c637886558de7d8fd3e27</id>
  <committed-date>2008-10-24T19:54:20-07:00</committed-date>
  <authored-date>2008-10-24T19:54:20-07:00</authored-date>
  <message>add rect</message>
  <tree>25a82d9b49eb3efddf29b12362244fc3e597fe05</tree>
  <committer>
    <name>Tom Preston-Werner</name>
    <email>tom@mojombo.com</email>
  </committer>
</commit>
