Changes between Version 11 and Version 12 of FRAME_ROTATION_R1


Ignore:
Timestamp:
06/02/09 17:06:55 (16 years ago)
Author:
dido
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_ROTATION_R1

    v11 v12  
    1515 * Rotate around the topLeft corner of the frame (ie 0,0, so later when the coordinates change, the rotation works as expected) 
    1616 * Rotation center, halo button and mouse should be on the same line, when the user drags the halo button.[[BR]] 
    17   * in the diagram below the dark rectangle represents single frame, the gray one is the hallo button. And the rotation point is the one that the frame is rotates around. The rotation point will stay consistent no meter the rotation of the frame. 
     17  * in the diagram below the dark rectangle represents single frame, the gray one is the halo button. And the rotation point is the one that the frame is rotates around. The rotation point will stay consistent no meter the rotation of the frame. 
    1818[[Image(rotationR1.png)]] 
    1919 * The halo button won't be rotated. 
    2020 * Make sure the halo button moves with the frame.  Currently halos lay out around the unrotated bounding box enclosing the rotated frame 
    21  * Position the halo button at the bottom right corner of the frame, along a vector that extends from the top left corner to the bottom right, offset from the outside of the frame by 15,15 pixels (hard coded, changeable)[[BR]] 
     21 * Position the center of the halo button at the bottom right corner of the frame, along a vector that extends from the top left corner to the bottom right, offset from the outside of the frame by 15,15 pixels (hard coded, changeable in order to avoid overlapping of halo buttons ) 
     22  * In the diagram below the larger rectangle is a frame and the smaller one is the halo button. The red line is the vector mentioned above. 
    2223[[Image(vector_centered_halo.png)]] 
     24 * OPTIONAL. 
    2325 * When multiple frames are selected 
    2426  * The initial position of the halo button is equal by degrees to the first selected frame. (If for example the first selected frame has rotation 45 degree then the halo button is moved 45 degrees from the center of the selection rectangle) [[BR]] 
    2527  * The rotation point is at the top left corner. 
    2628  * Again during dragging the rotation point, the halo button and the mouse are on the same line. 
    27 [[Image(rotationMultiR1.png)]] 
    28  
     29   * In the diagram below the rectangles with numbers 1,2 and 3 are frames and the numbers represent the order of selection. 
     30   * The first selected rectangle is with 45 degree rotation. 
     31   * The rectangle that contains the 3 frames represent the selection rectangle. 
     32   * The small grey rectangle at the bottom represents the position of the halo button if the first selected frame was with rotation 0 degrees. 
     33   * Since the rotation of the first selected frame is 45 degree, this is way the halo button is rotated around the center of the selection rectangle (pointed with the red dot) and positioned on the initial halo position. 
     34   * Rotation point remains the same 
     35[[Image(rotationMultiR1.png)]][[BR]] 
     36   * However this is not the final analysis for multiple rotation, seence it won't be implemented in this revision, for the next one we could discuss this again 
    2937== Task result == 
    3038