Consider translation of transformation matrix of image rotation

Regina Henschel rb.henschel at
Fri Feb 23 14:12:42 UTC 2018

Hi Armin, hi all,

this is about 
and my proposal

It works in principle, but I'm not sure about some details:

It has a construction
     basegfx::B2DHomMatrix aFullTransform;

     with later on
     if ( !aFullTransform.isIdentity() )

Should I use
     basegfx::B2DHomMatrix aFullTransform;
     bool bHasTransformation;

     if ( bHasTransformation )

It has
     if ( aTransformedCenterPosition != aCenterPosition )
Is this check useful, or should I calculate the correction always, 
although the result might be the original value?

Is this the correct place at all to correct the position?

Kind regards

More information about the LibreOffice mailing list