Android Concept | Techbirds
Code to perform Scaling,translation,rotation on canvas in android : public class Canvas extends View { Paint paint; Paint paint1; boolean flag = false; // new code attributes float x_down = 0; float y_down = 0; PointF start = new PointF(); PointF mid = new PointF(); float oldDist = 1f; float oldRotation = 0; Matrix matrix