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

Pages linking to FRAME_ROTATION_R0:
FRAME_ROTATION_R1
FRAME_ROTATION_R2
TASK_INDEX

Ticket Summary Owner Status Type Component Priority Effort Importance
#755 FRAME_ROTATION_R0 mira closed planned_task FRAME_PROPERTIES 3 1.5 0

Reported by Astea, 4 years ago.

Description

wiki page: FRAME_ROTATION_R0 - effort: 1.5d

Analysis_owners

mira

Analysis_score

0

Design_score

0

Imp._score

0

Test_score

0

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.)