<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - custom shape with command U (angleellipse) is wrongly drawn"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121845">121845</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>custom shape with command U (angleellipse) is wrongly drawn
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Draw
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rb.henschel@t-online.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=147205" name="attach_147205" title="Wrong rendering of angleellipse">attachment 147205</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147205&action=edit" title="Wrong rendering of angleellipse">[details]</a></span>
Wrong rendering of angleellipse

The command U in the enhanced-path is wrongly drawn. You see the problem, if
you compare the endpoints of the curve with the handle.

The essential part in page 2 of the attached file is
<draw:enhanced-geometry draw:mirror-horizontal="false"
draw:mirror-vertical="false" svg:viewBox="0 0 21600 21600"
draw:text-areas="3000 3000 18000 18000" draw:type="non-primitive"
draw:modifiers="200" draw:enhanced-path="U 10800 10800 10800 10800 $0 270 F N">
      <draw:handle draw:handle-position="10800 $0" draw:handle-polar="10800
10800"/>
     </draw:enhanced-geometry>

The modifier is directly referenced in the polar-handle and in the
enhanced-path.

Expected behavior: The curve starts at the handle and goes clockwise to the
direction 270°, which is down vertical axis. That would generate a large arc.

Current behavior: The curve is drawn counter clockwise and it does not start at
the handle.

I had reported the problem already for Apache OpenOffice in
<a href="https://bz.apache.org/ooo/show_bug.cgi?id=121491">https://bz.apache.org/ooo/show_bug.cgi?id=121491</a>

This error prevents a proper import and converting from ooxml-arc.

[The spec has radius and angle in draw:handle-position the other way round. But
because PowerPoint has it the same way as LibreOffice, that will likely be
changed in the spec and is not part of this issue.
<a href="http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-draw_enhanced-path">http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-draw_enhanced-path</a>]</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>