Hello,
I tried to export shape path to custom format(not svg), So I got points in the shape, I created path programmatically, I know point, controlPoint1 and controlPoint2, but! I can't do it for start point and end point. My controlPoint1 and controlPoint2 are different with you SVG path.
For example,
I have 5 points.
First points has PointType = Straight
Last Point has PointType = Straight
3 another points have PointType = Disconnected
I calculate first point and move to this point
After it, I draw curve with second point and controlPoint1 and controlPoint2, but I can calculate this controlPoints,
After that, I draw curve with next points and controlPoints and it works well.
Main problem, understand ControlPoint1 and ControlPoint2 for segment between first and second points.
My question,
How I can calculate controlPoint1 and controlPoint2 for start point?
If you need additional information, don't hesitate ask me.
Best Regards
Sergey