Issue 109128 - API: Simple line does not resize via transformation matrix
Summary: API: Simple line 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 20:02 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 a macro to rotate and resize (12.54 KB, application/vnd.oasis.opendocument.graphics)
2010-02-10 20:03 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 20:02:36 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.

Open the document and select the line. Apply the macro several times. Watch that
the line rotates but does not enlarge.

You can proof that the macro works correctly, when you apply it to a rectangle.
Comment 1 Regina Henschel 2010-02-10 20:03:23 UTC
Created attachment 67739 [details]
test document with a macro to rotate and resize
Comment 2 wolframgarten 2010-02-11 09:30:12 UTC
Reproducible. Reassigned.
Comment 3 Marcus 2017-05-20 11:33:49 UTC
Reset assigne to the default "issues@openoffice.apache.org".