RootEncoder
RootEncoder copied to clipboard
When set scale moveing to ZoomIn and ZoomOut image is not Smooth
hi @pedroSG94
Could you please help me, i had problems about reduce image scale down and enlarge image to scale up
I try to set scale function to reduce image scale down and enlarge image to scale up with R.drawable.ic..

but I tried reduce image scale down in on the top and bottom, but it cannot scale down on the left and on the right, in method scaleSprite MotionEvent motionEvent got incorrect move

You try video Plase : https://drive.google.com/file/d/1D4MExJht75K4_4MA96t_NGr9IiyGQbR7/view?usp=drivesdk
and asking for guidelines and methods to fix them
please suggess me
Thank you
Hello,
Did you tried to set position after scale? Like this:
PointF position = baseObjectFilterRender.getPosition();
baseObjectFilterRender.setScale(scale.x, scale.y);
baseObjectFilterRender.setPosition(position.x, position.y);
could you please watch my video issue that i found problem about scale up and scale down in images which them does not reduce the size to the ratio it should be
Video 1 https://drive.google.com/file/d/1DWrLUgetvEEOTwlZ7H1TaBZH8FwkOvql/view?usp=drivesdk
Video 2
https://drive.google.com/file/d/1DYHiufIe59FXJpz0hecUlIfA8ESdAWsC/view?usp=drivesdk
Exmaple
Can you share me an image and filter configuration to emulate your case?