<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Selection changes position when rotated and rotated back by the same angle"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=1158">1158</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Selection changes position when rotated and rotated back by the same angle
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Fiji
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>imagej-bugs@imagej.net
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>thedesertshadow@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=260" name="attach_260" title=""Useful information about your system" copied from the Bug Report Form">attachment 260</a> <a href="attachment.cgi?id=260&action=edit" title=""Useful information about your system" copied from the Bug Report Form">[details]</a></span>
"Useful information about your system" copied from the Bug Report Form

When I run the following macro, the resulting polygon selection changes
position from the initial polygon. I have tried this on tiff and png files. 

makePolygon(479,637,1003,429,937,335,689,444,604,363,643,463,445,537);
run("Draw");
run("Rotate...", "angle=45");
run("Rotate...", "angle=-45");

When I was testing this problem, it also occurred for squares when the x and y
coordinate were not the same - however, I updated my version of Fiji, and this
no longer occurs. E.g.:
run("Specify...", "width=100 height=100 x=100 y=300");
run("Draw");
run("Rotate...", "angle=45");
run("Rotate...", "angle=-45");

Is the centre of the object the point of rotation?

Thanks,
Linda</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>