link to appropriate section of TR

master
Waldir Pimenta 2016-04-27 10:24:59 +01:00
parent a3dbb7c5af
commit 0833678eba
1 changed files with 3 additions and 2 deletions

View File

@ -1437,7 +1437,8 @@
var cp = pp.getAsCurrentPoint();
// Conversion from endpoint to center parameterization
// http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes
// https://www.w3.org/TR/SVG11/implnote.html#ArcConversionEndpointToCenter
// x1', y1'
var currp = new svg.Point(
Math.cos(xAxisRotation) * (curr.x - cp.x) / 2.0 + Math.sin(xAxisRotation) * (curr.y - cp.y) / 2.0,
@ -2918,4 +2919,4 @@ if (typeof(CanvasRenderingContext2D) != 'undefined') {
scaleHeight: dh
});
}
}
}