I'm having quite a problem here and I hope for someone here to able to help me. let's go.
Let's say, I have quite a big image ( 1500x2000 ), i load it as a drawable, fine so far. Now I have a SurfaceView and I want to draw a certain region ( lets say the top-left-most region ) onto a canvas, in a non-scaled version. I thought using ClipDrawable would be just the right thing to use, but actually, I can't get it to do what I want to. It just displays a scaled-down image with the clip applied.
So basically my question is: how to draw a non-scaled drawable onto a surface, and how to clip that drawable?
any help appreciated, thank you :-)