Hello,

I’m trying to draw a curved line between 2 objects in a way that if I move the objects around the curve remains the same. I’m having difficulties with the quadratic method and calculating the control point. Any help with this or ideas for another approach will be welcome.

What I want to get:

What I have so far:

```
linePath.clear();
linePath.startNewSubPath (x1, y1);
float amplitude = 100;
float a = atan2f(-(y2-y1), x2-x1) + float_Pi/2.0;
float midx = (x2-x1)/2 + x1 + cos(a)*amplitude;
float midy = (y2-y1)/2 + y1 + sin(a)*amplitude;
linePath.quadraticTo(midx, midy, x2, y2);
```

Ideally I’d like to have an arrow that the user can edit. The typical connector line where you add points and then curve it yourself. But that’s for version 2.0

Thx,

Ana