         return false
     }
     
-    func serialize1(_ currentState: Int, _ start: Point, _ relative: Point, _ lastControl: Point?) -> (String, Int, Point, Point, Point?) {
+    func serialize1(_ currentState: Int, _ relative: Point, _ lastControl: Point?) -> (String, Int, Point, Point?) {
         
         switch self {
         case let .line(point):

        }
        
        for item in self {
            item.serialize(&currentState, start: &start, relative: &relative, lastControl: &lastControl).write(to: &data)
        }
        
        if self.isClosed {


private extension Shape.Segment {
    
    @inline(__always)
    func isSmooth(_ p: Point, _ relative: Point, _ lastControl: Point?) -> Bool {
        
