Issue 121491

Summary: custom shape interprets angle in U command in enhanced-path opposite from handle
Product: Draw Reporter: Regina Henschel <rb.henschel>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: Armin.Le.Grand, binbjguo, issues, mseidel
Version: 4.0.0-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121500    
Description Flags
custom shape with U-command (ANGLEELLIPSE) none

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 "".
Comment 7 Regina Henschel 2019-03-19 20:18:40 UTC
I have reworded the command U and T implementation for LibreOffice.

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