summaryrefslogtreecommitdiff
path: root/cui/qa
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2021-12-12 14:18:23 +0100
committerMiklos Vajna <vmiklos@collabora.com>2021-12-15 08:23:10 +0100
commit453c5b6214654b440fe1d3e926cddfb695e17f10 (patch)
treeef6a6658d441c969b4b2a86a5f87dc5380a0580d /cui/qa
parent85c5feaf8aa889906ad3a20a1d6e5cbffd446921 (diff)
tdf#145904,tdf#145956 improve extrusion of custom shapes
The patch addressed these errors: The property Origin is relative to the bounding rectangle of the shape not to the snap rectangle. That error is visible e.g. for a block arc. Rotation center x- and y- values are relative to the snap rectangle and not absolute. Rotation center z-value is in Hmm and needs conversion to Twips in Writer. Rotation is around rotation center, which might be different from shape center. That has been ignored. I have moved calculation of the 2D logic rectangle of the scene to main method to be able to reuse the transformation and other values. I consider using a special local class as unneeded overhead. I have reordered some parts to bring geometry relevant parts together. Change-Id: I35ad0721091b365ae99cd3d7b2afb0ad7efe47fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126847 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui/qa')
0 files changed, 0 insertions, 0 deletions