| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[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|)]] |
| 4 | |
| 5 | |
| 6 | = Analysis = |
| 7 | |
| 8 | == Overview == |
| 9 | |
| 10 | 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. |
| 11 | |
| 12 | == Task requirements == |
| 13 | |
| 14 | * By default every frames rotation angle is 0. This means that the frames sides are parallel to the pages sides. |
| 15 | |
| 16 | * The rotation angle should be keft in the model and should be synchronized with the frame hud. |
| 17 | |
| 18 | * 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. |
| 19 | |
| 20 | == Task result == |
| 21 | The result of this task is source code. |
| 22 | |
| 23 | == Implementation idea == |
| 24 | Add rotation angle field in the frame hud. |
| 25 | Create setRotation method that takes the special point and bounding mode and calculate and set the right frame content location. |
| 26 | |
| 27 | == Related == |
| 28 | |
| 29 | * [wiki:FRAME_BOUNDS_R0] |
| 30 | * [wiki:FRAME_APPEARANCE_HALO_AND_HUD_R0] [[BR]] |
| 31 | * [wiki: FRAME_PLACEMENT_POINT_SELECT_R0] |
| 32 | |
| 33 | == How to demo == |
| 34 | |
| 35 | * Change the frames rotation angle and demonstrate it rotates. |
| 36 | * Rotate a frame by its center point and demonstrate that frame content coordinates change accordingly. |
| 37 | |
| 38 | = Design = |
| 39 | |
| 40 | |
| 41 | = Implementation = |
| 42 | ^(Implementation results should be described and linked here (from the wiki or the repository))^ |
| 43 | |
| 44 | = Testing = |
| 45 | |
| 46 | = Comments = |
| 47 | ^(Write comments for this or later revisions here.) |