Łukasz Dziedzic
Łukasz Dziedzic
Hello! For now i just tested if points are the same and if so, moved one of them by 0.001. :) Btw. I could not found some .cgPath() function to...
This is listing of `.startPoint` and `.endPoint` of curves send to `PathComponent(curves: ...)` (548.9743825215003, 325.0) (341.15500052978894, 24.26896272382021) (341.15500052978894, 24.268962723820202) (133.33561853807763, 325.0) (133.33561853807763, 325.0) (341.15500052978894, 625.7310372761798) (341.15500052978894, 625.7310372761798) (548.9743825215003, 325.0)` Strange.
Oh! In the world of CGFloats it could be difficult sometimes ;) . This time I assigned values from previous curve to the next and result is the same: (548.9743825215003,...
I suspect those lines in `Init`: curves.forEach { assert($0.startingPoint == temp.last!, "curves are not contiguous.") temp += $0.points[1...] } ...
(Sorry for spamming here, I have to learn how to use this "issues". And markdown).
I will. Give me some time. (I'm curious, maybe it's on my side somehow)
OK. I rounded x and y of all points to third place after comma - no issue anymore. BTW: Is it possible to automatically reverse inner PathComponent to maka a...
Super! I will try, thank you! BTW: good job!
After almost a year I still don't know how to close a path. This is a small app showing a problem: https://github.com/typoland/HowToCloseCurveInBezierKit 
But `curvesOfO: [[ BezierCurve ]] = [[......], [......]]` and I add them in a loop for curve in curvesOfO { components.append(PathComponent(curves: curve)) } Should be OK, but it isn't :(