When image crop want to zoom touch position like magnify view

Multi tool use
Multi tool use


When image crop want to zoom touch position like magnify view



Image take from camera or gallery then image draw into canvas, implemented hand crop of image view, i need to zoom correct touch position of canvas image in screen left corner


mShader = new BitmapShader(originalImageBitmap, Shader.TileMode.MIRROR, Shader.TileMode.MIRROR);
paint2 = new Paint();
paint2.setShader(mShader);
matrix.reset();
matrix.postScale(2.0f, 5.5f, point.x, point.y);
paint2.getShader().setLocalMatrix(matrix);
canvas.drawCircle(100, 100, sizeOfMagnifier, paint2);





It's an art to decide what code to post with your question, not too much and not too little, but you've erred on the too much side of the equation I'm afraid. Please read the Minimal, Complete, and Verifiable example to see how to improve your code so that you post code that is relevant, that is required to compile and run, but also so that you don't overwhelm folks with much code that is not necessary to demonstrate your problem
– Chisko
Jul 3 at 7:25









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

tyPqo1c,ujWgbDtqT4 Zto YIsYif5OALXjlD dz,Y 3T3OB
AG2,Gq e26kfGmn2L3Wh8TApdcglwE2Z6z3 n804TfV1R1TPGs4hnxk3QaooUP jgmD2cQNAvE3yXmTiT174E4ZbM5n,lsHVH

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications