draw an arc given 3 points in SWT
- by Ahmed Kotb
iam using the swt java library and iam having a problem.
the gc draw arc method takes the following arguments
GC.drawArc(int x, int y, int width, int height, int startAngle, int endAngle);
but i want to be able to draw the arc using 3 arguments : the source ,destination and
control points.
is there any formula to convert between those parameters ?
QuadCurve2D class do exactly what i want but it is not AWT not swt ...and i tried to use java2d under swt but it was very slow ....
any solutions ?