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

Rotate some SVG #44

Open
vallemar opened this issue Apr 6, 2021 · 0 comments
Open

Rotate some SVG #44

vallemar opened this issue Apr 6, 2021 · 0 comments

Comments

@vallemar
Copy link

vallemar commented Apr 6, 2021

Which platform(s) does your issue occur on?

  • iOS

Please, provide the following version numbers that your issue occurs with:

  • CLI: 8.0.1
  • PluginVersion: 0.0.8

Please, tell us how to recreate the issue in as much detail as possible.

Some SVG rotates them, I upload an example: it should appear to the bottom and it appears to me

<SVGView
          src="~/assets/icons/arrow_down_gray.svg"
          height="18"
          width="18"
        ></SVGView>

SVG of example:

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 512.002 512.002" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g transform="matrix(1.8369701987210297e-16,1,1,-1.8369701987210297e-16,-0.0004363059998695462,0.0004363059997558594)">
<g xmlns="http://www.w3.org/2000/svg">
	<g>
		<path d="M388.425,241.951L151.609,5.79c-7.759-7.733-20.321-7.72-28.067,0.04c-7.74,7.759-7.72,20.328,0.04,28.067l222.72,222.105    L123.574,478.106c-7.759,7.74-7.779,20.301-0.04,28.061c3.883,3.89,8.97,5.835,14.057,5.835c5.074,0,10.141-1.932,14.017-5.795    l236.817-236.155c3.737-3.718,5.834-8.778,5.834-14.05S392.156,245.676,388.425,241.951z" fill="#cdcdcd" data-original="#000000" style="" class=""/>
	</g>
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
</g></svg>

I think this part is the one that does not do well:
matrix(1.8369701987210297e-16,1,1,-1.8369701987210297e-16,-0.0004363059998695462,0.0004363059997558594)

@vallemar vallemar changed the title [NS8] [iOS] Rotate some SVG Rotate some SVG Apr 6, 2021
@farfromrefug farfromrefug transferred this issue from nativescript-community/ui-svg Jan 16, 2023
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

1 participant