Issue 121491 - custom shape interprets angle in U command in enhanced-path opposite from handle
Summary: custom shape interprets angle in U command in enhanced-path opposite from handle
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 4.0.0-dev
Hardware: PC Windows XP
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 121500
  Show dependency tree
 
Reported: 2012-12-17 00:15 UTC by Regina Henschel
Modified: 2019-03-20 18:33 UTC (History)
4 users (show)

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


Attachments
custom shape with U-command (ANGLEELLIPSE) (8.65 KB, application/vnd.oasis.opendocument.graphics)
2012-12-17 00:15 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 2012-12-17 00:15:56 UTC
Created attachment 80028 [details]
custom shape with U-command (ANGLEELLIPSE)

The attached document has one modifier. It is used directly by its reference $0 as start angle in the U-command (=ANGLEELLIPSE) in the enhanced-path, and as angle parameter in the handle. But the resulting shape has the handle and the start of the arc at opposite y-positions. The end angle in the enhanced-path is set to 330°. 

In addition the arc is not drawn "clockwise".
Comment 1 Regina Henschel 2012-12-20 16:46:29 UTC
I have examined the existing predefined custom shapes. It seems, that the problem has not been discovered yet, because all shapes with U command use a fixed angle from 0° to 360° (The cloud-callout has a fixes angle from 0° to 23592960°, which is surely an error.)
Comment 2 binguo 2012-12-21 08:53:07 UTC
Marked is as comfirmed.
Comment 3 Regina Henschel 2013-02-03 13:23:34 UTC
Tested in PowerPoint 2013: The shape itself is drawn wrong. It is not suitable as reference.
Calligra: The shape is drawn as in AOO, but Calligra has not implemented handles.
Comment 4 Armin Le Grand 2013-06-10 16:21:19 UTC
ALG: Grepping
Comment 5 Armin Le Grand 2013-07-05 15:21:16 UTC
ALG: Grepping
Comment 6 Marcus 2017-05-20 11:27:35 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 7 Regina Henschel 2019-03-19 20:18:40 UTC
I have reworded the command U and T implementation for LibreOffice. https://cgit.freedesktop.org/libreoffice/core/commit/?id=3abe1e83c18c5778d60252092e9cc70c4c63268b

You may copy that work, I provide it under the Apache License, Version 2.0.