You can 'solve a math problem"...
http://www.mathisfunforum.com/misc.php?action=rules
When you are new to a forum and are in need of someone's help and are lucky enough that someone is trying to help you, you should keep the sarcasm down. I do not enjoy being taunted. Math is hard work and I do not need the extra challenge of dealing with sarcasm. I am going to leave you to your own resources, perhaps someone else can deal with you.
]]>Here is what someone did elsewhere, but did not take the values from the survey and plug them into the W, L, R, etc. (I do not know myself). Do you understand it?
abs(W) = L / R
(A + W) modulo 2pi ≡ arctangent((Ey-Cy) / (Ex-Cx));
Use both equations to get the right value for W.
So it looks like you have or can calculate:
S = starting point of the arc.
E = ending point of the arc,
R = radius of the arc (so it must be a section of circle)
L = arc length.
Skia needs C, the center of the circle that the arc is part of. From the definintion of a circle:
distance(C, S) = R
distance(C, E) = R
(Cx-Sx)^2 + (Cy-Sy)^2 = R^2
(Cx-Ex)^2 + (Cy-Ey)^2 = R^2
Solve for C = {Cx,Cy}. Throw one answer away.
Skia also needs the start angle A and the sweep W.
A = arctangent((Sy-Cy) / (Sx-Cx)) ;
W = arctangent((Ey-Cy) / (Ex-Cx)) - A;
The bounding rectangle of the circle is {Cx-R,Cy-R,Cx+R,Cy+R}
SkPath path;
path.arcTo({Cx-R,Cy-R,Cx+R,Cy+R}, radian2degree(A), radian2degree(W), false);
]]>Skiasharp arcTo function
That would require someone who knows something about that.
Yes, it is a math forum and we have some coders in here. I have not coded in C++ in decades, so I have forgotten how. Some of those links you posted do they not have any forums over there to assist you? You could also try a C# forum. I would help if I could.
]]>https://developer.xamarin.com/api/member/SkiaSharp.SKPath.ArcTo/p/SkiaSharp.SKRect/System.Single/System.Single/System.Boolean/
public Void ArcTo (SKRect oval, Single startAngle, Single sweepAngle, Boolean forceMoveTo)
oval The bounding oval defining the shape and size of the arc.
startAngle The starting angle (in degrees) where the arc begins.
sweepAngle The sweep angle (in degrees) measured clockwise.
forceMoveToWhether to always begin a new contour with the arc.
Is that a piece of software?
]]>