Calculating image x and y
===

I imported image in `inkscape` and then i rotate that image and then i saved that svg document 

and i got this in the document :

 

           .
           .
        
            <image
               y="-421.28461"
               x="335.27295"
               id="image2991"
               xlink:href="file:///C:/Users/tom/Documents/t.jpg"
               height="369"
               width="360"
               transform="matrix(0.22297057,0.97482518,-0.97482518,0.22297057,0,0)" />
           .
           .

Now at the time of saving the document if 1 can notice the value of **x** and **y** in inkscape editor (at its top 

menu) is different for the image object and when we saved the document and open it in notepad, the 

value is different. The value of `x` & `y` attributes which we see in the notepad is not the image object's

actual `top-left` position. But when we open it in inkscape, the inkscape somehow calculate the 

correct value and place the image at correct position. **Ques** : Now i just want to know how the inkscape

calculate the correct `x` & `y` from the image attribute's `x` & `y` values?

**Note** : The image is rotated. 

