proc curve*(self: Path2D): Curve2D {.gcsafe, locks: 0.}
proc `curve =`*(self: Path2D; val: Curve2D) {.gcsafe, locks: 0.}
method curveChanged*(self: Path2D) {.gcsafe, locks: 0, base.}