case ExtendedPathIterator.SEG_ARCTO: {
// If the current segment is an ARCTO then we build the
// arc and ask for it's end angle and get the tangent there.
boolean large = (next[3]!=0.);
boolean goLeft = (next[4]!=0.);
Arc2D arc = ExtendedGeneralPath.computeArc
(currEndPoint.getX(), currEndPoint.getY(),
next[0], next[1], next[2],
large, goLeft, next[5], next[6]);
double theta = arc.getAngleStart();
theta = Math.toRadians(theta);
dx = -arc.getWidth()/2.0*Math.sin(theta);
dy = arc.getHeight()/2.0*Math.cos(theta);
// System.out.println("Out Theta: " + Math.toDegrees(theta) +
// " Dx/Dy: " + dx + "/" + dy);
if (next[2] != 0) {
double ang = Math.toRadians(-next[2]);
double sinA = Math.sin(ang);