             let rects:[CGRect] = points.map {
                 return $0.frame
             }
-            println(rects)
             return CGRect.unionOfRects(rects)
         }
     }


import SwiftGraphics


extension CGPoint : Geometry {
    public var frame:CGRect { get { return CGRect(center:self, diameter:0) } }
}

        ctx.plotPoints([self])
    }
}

extension BezierCurve: Drawable {

