   }
 }
 
+extension CGRect : Equatable {}
 public func == (lhs: CGRect, rhs: CGRect) -> Bool {
   return CGRectEqualToRect(lhs, rhs)
 }

// CGGeometry
//===----------------------------------------------------------------------===//

public extension CGPoint : Equatable {
  static var zeroPoint: CGPoint { get { return CGPoint(x: 0, y: 0) } }

  init() {

  }
}

extension CGVector : Equatable {}
public func == (lhs: CGVector, rhs: CGVector) -> Bool {
  return lhs.dx == rhs.dx  &&  lhs.dy == rhs.dy
}


public extension CGRect {
  static var zeroRect:     CGRect {
    return CGRect(x: 0, y: 0, width: 0, height: 0) 
  }
  static var nullRect:     CGRect { get { return CGRectNull } }
