<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 - FILEOPEN PPTX large swing angles in arcTo command are not clipped to 360deg"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122323">122323</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN PPTX large swing angles in arcTo command are not clipped to 360deg
          </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>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>Impress
          </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=147817" name="attach_147817" title="arcTo command with large swing angle">attachment 147817</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=147817&action=edit" title="arcTo command with large swing angle">[details]</a></span>
arcTo command with large swing angle

The attached document contains a shape with swing angle 412deg on left side of
slide 1 and a shape with swing angle -400° on right side of slide 1. Slide 2
contains an image which shows how PowerPoint renders the shapes. The shapes
have a lineTo command to the center after the arcTo command, so that the end
point point of the arcTo command becomes visible.

It seems, that PowerPoint clips swing angles larger than 360deg to 360deg and
swing angles smaller than -360deg to -360deg. But LibreOffice seems to
calculate the resulting end angle and use it modula 360deg, likely implicit by
using sin and cos.

The command ARCANGLETO (G) does not belong to ODF but was introduced in
LibreOffice to be able to handle the OOXML command arcTo. Therefore it should
render such shapes the same as PowerPoint in edge cases too.</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>