Issue 109118 - API: Custom shape reacts wrong on applying a rotation matrix
Summary: API: Custom shape reacts wrong on applying a rotation 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:28 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 apply a rotation matrix (30.49 KB, application/vnd.oasis.opendocument.graphics)
2010-02-10 18:29 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:28:27 UTC
The attached document contains the macro “Change Shape via Matrix”. It reads the
property “Transformation” from the selected shape, multiplies it with a
60°-rotation matrix (mathematically 60° = UI 300°) and writes the result back to
the property. When applying the macro, the shape should perform a 60°-rotation.
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 several times on the icon “Change Shape via Matrix” in the custom toolbar.
You see that the shape rotates around the top left corner of the page.
Now go to the second page. It contains a custom shape ellipse. Select it and
again click several times on the icon “Change Shape via Matrix” to apply the
macro. The shape does not rotate around the corner.
Comment 1 Regina Henschel 2010-02-10 18:29:47 UTC
Created attachment 67732 [details]
test document with macro to apply a rotation matrix
Comment 2 wolframgarten 2010-02-11 10:08:54 UTC
Reproducible. Reassigned.
Comment 3 Marcus 2017-05-20 11:33:24 UTC
Reset assigne to the default "issues@openoffice.apache.org".