Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


Hi all,

the matrix, which is product by TRGetBaseGeometry and which is available as property "Transformation" in macros, is mathematically wrong, because the shear element has a wrong sign. What to do? A) Convert the matrix into a mathematically correct one, where it is needed, e.g. in case it will be multiplied by another matrix.
B) Change core to use the mathematically correct matrix.
C) Other idea?

I've used approach A for now. See https://cgit.freedesktop.org/libreoffice/core/commit/?id=f44140bebb9c493d97ba5aef26c9692c53a6b93f and my new patch in https://gerrit.libreoffice.org/#/c/core/+/86244/ I think, because the property "Transformation" might be used by existing macros, it would not be good to change its content. Another reason is, that option B would require large changes (some work in Armins aw080), so that it should at least be accompanied by an expert developer.

Before I continue, I want to know, whether you think it is OK to use option A.

The attachment has an example to reproduce the problem.

Kind regards
Regina

Attachment: RectangleSheared.odg
Description: application/vnd.oasis.opendocument.graphics


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.