Reputation: 697
I am trying to learn android and have written some simple graph plotting functions, I managed to get pinch zoom working but unfortunatly when it zooms the whole canvas zooms including the axis. What I would actually like is to still display the axis when it zooms, is there an easy way to acheive this in android using sme layering technique?
Upvotes: 1
Views: 2474
Reputation: 180
Canvas has save() and restore() function for preserving and restoring the canvas matrix.
Upvotes: 2