PhotoView icon indicating copy to clipboard operation
PhotoView copied to clipboard

setDisplayMatrix() does not match previous state after zoom scale and translate

Open wuheng19a05 opened this issue 6 years ago • 2 comments

I zoom in and translate the photoView,then I saved current DisplayMatrix by Matrix m = photoView.getDisplayMatrix()

After system configuration changed, the PhotoView re-created, I wish to restore the scale and translate state.

I called photoView.setDisplayMatrix(m), but it does not match before.

wuheng19a05 avatar Aug 30 '19 07:08 wuheng19a05

Have you got the solution ?

andysagar avatar Feb 01 '20 07:02 andysagar

I zoom in and translate the photoView,then I saved current DisplayMatrix by Matrix m = photoView.getDisplayMatrix()

After system configuration changed, the PhotoView re-created, I wish to restore the scale and translate state.

I called photoView.setDisplayMatrix(m), but it does not match before.

How did you zoomin and translate photoview ?

pradeep-orbi avatar Jul 24 '21 11:07 pradeep-orbi