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

Apply transforms to an element's coordinates #594

Open
fregante opened this issue Sep 8, 2016 · 0 comments · May be fixed by #1854
Open

Apply transforms to an element's coordinates #594

fregante opened this issue Sep 8, 2016 · 0 comments · May be fixed by #1854

Comments

@fregante
Copy link

fregante commented Sep 8, 2016

<svg xmlns:xlink="http://www.w3.org/1999/xlink">
  <image x="10" y="20" transform="translate(200 10)" width="1" height="1" xlink:href="a.png"/>
</svg>

In an SVG like this, the translate transform could be applied to the x and y coordinates, and output it as:

<svg xmlns:xlink="http://www.w3.org/1999/xlink">
  <image x="210" y="30" width="1" height="1" xlink:href="a.png"/>
</svg>

Edit: it was also suggested here: #419 (comment), so I'd add "it can be done where x and y are supported, like image tags."

@fregante fregante changed the title Idea: Apply transforms to an element's coordinates Apply transforms to an element's coordinates Sep 9, 2020
@KTibow KTibow linked a pull request Dec 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants