https://bugs.documentfoundation.org/show_bug.cgi?id=98565
Bug ID: 98565
Summary: FILEOPEN draw:transform="scale()" acts wrongly on
line, polyline and path
Product: LibreOffice
Version: 4.2.0.4 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Created attachment 123444
--> https://bugs.documentfoundation.org/attachment.cgi?id=123444&action=edit
package with three test documents
The attached package contains three file, one for draw:line, one for
draw:polyline and one for draw:path.
The document has an object draw:rectangle in light blue and second object
draw:rectangle in dark blue with the same attributes as the light one and an
additional attribute draw:transform=scale(3,1).
The document has a line in black and second line in yellow. Here too the
objects have the same attributs and the yellow on has an additional attribute
draw:transform=scale(3,1).
The lines are defined in a way, that their corners lay on the corners of the
rectangle.
Expected behavior: The objects are scaled in x-direction in the same way, so
that after applying the scale transformation, the corners of the scaled line
still lays on the corner of scaled rectangle.
Observed behavior: The rectangle is scaled as expected, but the line is not
scaled, but only shifted.
Scaling is always done with the origin as fix point, therefore the rectangle
not only becomes 3 times wider, but the distance to the y-axis is 3 times
larger too.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs