wiki:FRAME_ROTATION_R0
Last modified 16 years ago Last modified on 02/03/09 15:03:19

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=FRAME_ROTATION_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

The user can move the frame not only by changing its coordinates, but also by its rotation angle. It is the angle between the frames top side and the pages top side. It varies from 0 to 360.

Task requirements

  • By default every frames rotation angle is 0. This means that the frames sides are parallel to the pages sides.
  • The rotation angle should be keft in the model and should be synchronized with the frame hud.
  • Frames could be rotated around the 9 special points from the 5 different bounding rectangles. This should change their location along with their rotation angle.

Task result

The result of this task is source code.

Implementation idea

Add rotation angle field in the frame hud. Create setRotation method that takes the special point and bounding mode and calculate and set the right frame content location.

How to demo

  • Change the frames rotation angle and demonstrate it rotates.
  • Rotate a frame by its center point and demonstrate that frame content coordinates change accordingly.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)