-
Notifications
You must be signed in to change notification settings - Fork 556
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
SVG rerendering after applying CGAffineTransform(scaleX: 2.0, y: 2.0) on MacawView #550
Comments
Hi Nilupul, Zooming is a complicated task and we're going to add built-in support in the next release. If you want to implement it yourself for your specific task, here is my recommendations:
view.root.place = transform |
Hi, I'd like to help. We just resolved the scrolling + zooming in issue without pixelation. For zooming in without pixelation, all you have to do is scale your svg view. Like so:
Voila! I hope this helps! |
There is now |
AWESOME! Thank you so much!
…On Tue, Jul 28, 2020 at 9:20 PM Yuri Strot ***@***.***> wrote:
There is now MacawView.zoom feature, so closing this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#550 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC7MNF6WBA253ZL4NG5RBCTR53GCNANCNFSM4G7NLJTQ>
.
--
Best Regards,
Glenn Posadas
|
Hi
I am currently implementing a pinch zoom for Macaw view. I have implemented pinch zooming rotation and panning well using
CGAffineTransform
. But the problem is i need to re render the SVG that is shown in MacawView after zooming in so that i the SVG is not pixelated after zooming. I tried ContentLayout to scale the SVG but it is hard to sync scale of the MacawView and ContentLayout. And also i tried applyingnode.place.scale()
but it is not working either. Is there a solution for this.Could you please help me with this?
The text was updated successfully, but these errors were encountered: