Issue 109122 - API: Path object does not resize via transformation matrix
Summary: API: Path object does not resize via transformation matrix
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: DEV300m70
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 18:59 UTC by Regina Henschel
Modified: 2017-05-20 11:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test document with macro to enlarge an object (12.84 KB, application/vnd.oasis.opendocument.graphics)
2010-02-10 19:00 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2010-02-10 18:59:42 UTC
The attached document contains the macro “Change Shape via Matrix”. It reads the
property “Transformation” from the selected shape, multiplies it with the matrix
(1 -1 0   1 1 0  0 0 1) (read row wise) and writes the result back to the
property. When applying the macro, the shape should perform a 45°-rotation and
enlarge with factor sqrt(2). So when applying the macro twice you get a shape,
which is rotated with 90° and has double size.
Set a break point in the macro “Examine shape” and watch the object “oShape” to
see this property.

The first page of the document contains a classical ellipse shape. Select it and
click twice on the icon “Change Shape via Matrix”. You see that the shape
rotates around the top left corner of the page and is enlarged.
Now go to the second page. It contains a curve which looks like a ellipse.
Select it and again click twice on the icon “Change Shape via Matrix” to apply
the macro. You see, that the shape rotates around the corner but it is not enlarged.
You will see the same error, if you use a polygon.
Comment 1 Regina Henschel 2010-02-10 19:00:44 UTC
Created attachment 67735 [details]
test document with macro to enlarge an object
Comment 2 wolframgarten 2010-02-11 09:59:43 UTC
Reproducible. Reassigned.
Comment 3 Marcus 2017-05-20 11:33:18 UTC
Reset assigne to the default "issues@openoffice.apache.org".