Hiho, sorry for the late answer :-) History: When doing deep change work quite some years ago, I did
*not* realize that rot angle and shear angle were *mirrored* -
sigh. This was probably historically the case due to the Y-Axis
going down technically in OutDev's (right-handed), but handled in
interactions and UI (aka visually) as going *up* (aka
left-handed). Thus, the model data was using the UI orientation -
sigh ;-( Since this was done everywhere it did not pop up as an
error - until someone else tried to import the XML ODF stuff we
write and read - and yes, the error was unnoticed forwarded to ODF
format - sigh :-( You won't believe how surprised/shocked I was
when I found out about it... In aw080 I corrected this more or less everywhere internally - the SdrObjects were anyways in a state that the just had a B2DHomMatrix as geometric definition, thus this had to be correct (right-handed) in the model - we are not that far in the current core... Angles were flipped everywhere for UI and where APIs were involved - UNO API and ODF as far as needed. Luckily, the full ObjectTransform in ODF and UNO API *is* correct due to handing in/out a full Matrix in LinearAlgebra, thus right-handed and can be used for compatibility and preferred in the future - for the rest we'll have to keep that error alive as long as we won't get a new ODF format. BTW: Is there an official site to already claim these angles to
change orientation for ODF1.4...? And is that claimed...? HTH! On 06-Jan-20 14:35, Regina Henschel
wrote:
Hi all, -- ALG (PGP Key: EE1C 4B3F E751 D8BC C485 DEC1 3C59 F953 D81C F4A2) |
_______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice