Code example for RectF

Methods: toString

0
    	matrix.postTranslate(deltaX , deltaY); 
        matrix.postRotate(angel,dstPs[CTR_MID_MID * 2], dstPs[CTR_MID_MID * 2 + 1]);
        matrix.mapPoints(dstPs, srcPs);  
        matrix.mapRect(dstRect, srcRect);  
         
        System.out.println("srcRect:" + srcRect.toString());
        System.out.println("dstRect:" + dstRect.toString());
   }   
       
   private boolean isOnPic(int x , int y){  
        if(dstRect.contains(x, y)){  
            return true;   
        }else    
            return false;   
   }   
        
   private int isOnCP(int evx, int evy) {  
        Rect rect = new Rect(evx-controlBmpWidth/2,evy-controlBmpHeight/2,evx+controlBmpWidth/2,evy+controlBmpHeight/2);  
        int res = 0 ;  
        for (int i = 0; i < dstPs.length; i+=2) {  
            if(rect.contains((int)dstPs[i], (int)dstPs[i+1])){