     public mutating func reset() {
         self.origin = CGPoint(x: 0, y: 0)
     }
-
+}
+
+// MARK: -
+// MARK: Transform
+public extension CGRect {
     /// Returns a copy of `self` translated by the given vector.
     @inlinable
     public func translated(by vector: CGVector) -> CGRect {

        
        self.init(center: center, size: .init(width: width, height: height))
    }

    /// Returns a copy of `self` centered relative to the given rectangle.
    @inlinable


import CoreGraphics

// MARK: Initializers
public extension CGRect {
    /// Creates a rectangle with the specified size.
    public init(size: CGSize) {
        self.init(origin: .zero, size: size)
