link to appropriate section of TR
parent
a3dbb7c5af
commit
0833678eba
|
@ -1437,7 +1437,8 @@
|
||||||
var cp = pp.getAsCurrentPoint();
|
var cp = pp.getAsCurrentPoint();
|
||||||
|
|
||||||
// Conversion from endpoint to center parameterization
|
// 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'
|
// x1', y1'
|
||||||
var currp = new svg.Point(
|
var currp = new svg.Point(
|
||||||
Math.cos(xAxisRotation) * (curr.x - cp.x) / 2.0 + Math.sin(xAxisRotation) * (curr.y - cp.y) / 2.0,
|
Math.cos(xAxisRotation) * (curr.x - cp.x) / 2.0 + Math.sin(xAxisRotation) * (curr.y - cp.y) / 2.0,
|
||||||
|
|
Loading…
Reference in New Issue