I parse inkscape XML to automate rescaling of imagines. The transform from a manually derived (i.e., mouse and keyboard) gives the XML
transform="matrix(1.5,0,0,1.5,-28.57142,-1440.0)">
makes the image 50% larger -- i.e., 1.5, 0 , 0 ,1.5 The last two values are tx, ty translate values. I cannot determine how these values are calculated. BTW the image is a rectangle just to keep it simple.
Can somebody tell me how inkscape calculates tx, ty?