Rotate image dialog

Boudewijn Rempt boud at valdyas.org
Mon Mar 28 17:21:53 CEST 2005


On Monday 28 March 2005 17:15, Michael Thaler wrote:
> 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) );
>

Thanks -- er, what is phi, actually?

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050328/7ab6dd2b/attachment.pgp


More information about the kimageshop mailing list