How to get the proper bounds of a view after transformation Matrix
<p>I have a custom view where I use transformations. So far so good, function like <code>setRotationY()</code>, <code>setScaleX()</code>, <code>setTranslationY()</code> or even <code>getMatrix()</code> work as expected, I’m able manipulate my view and it displays fine.
Where I hit the wall is that a number of function behave strangely after that. For example function like <code>getHitRect()</code> return totally weird values! This is not helping my touch events.</p>

<p>I tried to overload the function but it is still far from working especially when using rotation or scaling (Translation working fine through). I think this as something to do with the fact that the matrix is expressed in child coordinate, so how can I get it in parents coordinate?</p>

<pre><code>@Override
    public void getHitRect(Rect outRect){

        RectF rect = new RectF(); 
        rect.top = (float) this.getTop(); 
        rect.bottom = (float) this.getBottom(); 
        rect.left = (float) this.getLeft(); 
        rect.right = (float) this.getRight();      

    this.getMatrix().mapRect(rect);
        rect.round(outRect);
    }
</code></pre>

<p>Can I get some straighter value directly from some function? Like the new Height, Width, top or bottom.</p>
