Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Pull Request #39 removes the radius from circles #40

Open
oblakeerickson opened this issue Apr 9, 2014 · 0 comments
Open

Pull Request #39 removes the radius from circles #40

oblakeerickson opened this issue Apr 9, 2014 · 0 comments

Comments

@oblakeerickson
Copy link

Using the code from the commit prior to #39 the radius appears in the svg output, but does not appear in the svg output using the code from pull request #39.

My Test Code:

var R = Raphael(50, 50, 400, 400);
var circle = R.circle(100, 100, 50).attr('fill', '#f00');
var svg = R.toSVG();
console.log(svg);

SVG output before #39:

<svg style="overflow: hidden; position: relative;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" version="1.1" height="400"><circle transform="matrix(1,0,0,1,0,0)" cx="100" cy="100" r="50" fill="#f00" stroke="#000"></circle></svg> 

SVG output after #39:

<svg style="overflow: hidden; position: relative;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" version="1.1" height="400"><circle transform="matrix(1,0,0,1,0,0)" cx="100" cy="100" fill="#f00" stroke="#000"></circle></svg> 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant