             bezierPath.close()
         }
 
+        func setQuadrPoint(_ p: CGPoint, quadr: CGPoint) {
+            currentPoint = p
+            quadrPoint = quadr
+            cubicPoint = nil
+        }
+
         func setCubicPoint(_ p: CGPoint, cubic: CGPoint) {
             currentPoint = p
             cubicPoint = cubic

                    s(data[0], y2: data[1], x: data[2], y: data[3])
                    data.removeSubrange((0 ..< 4))
                }
            case .A:
                let flags = numToBools(data[3])
                A(data[0], ry: data[1], angle: data[2], largeArc: flags[0], sweep: flags[1], x: data[4], y: data[5])

                e(data[0], y: data[1], w: data[2], h: data[3], startAngle: data[4], arcAngle: data[5])
            case .z:
                Z()
            }
        }
        return bezierPath
