Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering openfl.svg is broken #13

Open
mbrezu opened this issue Apr 8, 2014 · 4 comments
Open

Rendering openfl.svg is broken #13

mbrezu opened this issue Apr 8, 2014 · 4 comments

Comments

@mbrezu
Copy link

mbrezu commented Apr 8, 2014

I tried rendering the openfl.svg file with this library and the background is translated to the left.

Code used:

public function new () {

    super ();

    var svgFile = Assets.getText("openfl");
            var svg = new SVG(svgFile);
            svg.render(graphics, 0, 0);
    cacheAsBitmap = true;
}

image

@mbrezu
Copy link
Author

mbrezu commented Apr 8, 2014

Hmmm. it looks like the background isn't translated, the output is not clipped correctly.

@ashes999
Copy link
Member

I can take a look at this. Can you please attach the openfl.svg file?

@mbrezu
Copy link
Author

mbrezu commented Dec 24, 2015

Hello, attached as .txt (apparently I can't attach svgs).

It's the file used to create icons for a freshly created openfl project.

Thanks!

openfl.txt

@ashes999
Copy link
Member

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants