Rotate image dialog

Michael Thaler michael.thaler at ph.tum.de
Mon Mar 28 17:15:06 CEST 2005


On Monday 28 March 2005 16:47, Boudewijn Rempt wrote:

> * I want to give an old dimensions/new dimensions comparison. For that I
> need some way to access the dimensions of the layer/image after rotatating.
> The current rotate code doesn't give me that.

x_new = QABS ( x_old * cos( phi ) ) + QABS( y_old * sin( phi) );
y_new = QABS ( y_old * cos( phi ) ) + QABS( x_old * sin( phi) );

Michael


More information about the kimageshop mailing list