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

Pull Request #39 removes the radius from circles #40

@oblakeerickson

Description

@oblakeerickson

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> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions