C# Matrix to Android Matrix?
<p>I have some code here in C#</p>

<pre><code>   //take a world Vector2D and make it a relative Vector2D
    public Vector2D WorldToRelative(Vector2D world)
    {
        Matrix mat = new Matrix();
        PointF[] Vectors = new PointF[1];

        Vectors[0].X = world.X;
        Vectors[0].Y = world.Y;

        mat.Rotate(-m_angle / (float)Math.PI * 180.0f);
        mat.TransformVectors(Vector2Ds);

        return new Vector2D(Vectors[0].X, Vectors[0].Y);
    }
</code></pre>

<p>The problem is android's Matrix does not seem to have rotate and transform vector.</p>

<p>It has pre and post rotation and mapping vectors.</p>

<p>What could I do to correctly port this code to android?</p>

<p>Thanks</p>
