Changes between Version 3 and Version 4 of FRAME_POSITION_R0


Ignore:
Timestamp:
12/10/08 19:11:49 (16 years ago)
Author:
mira
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_POSITION_R0

    v3 v4  
    77 
    88== Overview == 
    9 The frames could have different position in relation to the page. They could overlap but the frame should be able to fit into the page size. 
     9The frames could have different position(coordinates) in relation to the upper left angle of the page. They could overlap and the frame should always be able to fit into the page. Therefore whenever a negative coordinate occurs(because of a drag and drop for example) the page size and position should be recalculated so that this frames coordinate is 0. All other frames should recalculate their coordinates as well so that their relative positions are kept.     
    1010 
    1111== Task requirements == 
     
    1414 
    1515== Task result == 
    16 The result of this task is source code. 
     16  The result of this task is source code. 
    1717 
    1818== Implementation idea == 
    19  * Create Position class extending !ProObject with properties for the frames upper left position 
    20  * Add Position position property to the Frame 
    21  
     19 * Create Position class extending !ProObject with properties for the frames upper left position. 
     20 * Add Position position property to the Frame. 
     21 * Recalculate all coordinates when needed so that the conditions are kept for all frames. 
    2222 
    2323== Related == 
    2424 
    2525== How to demo == 
    26  * Create frame with concrete coordinates and check if they are correct. Try creating a frame with incorrect coordinates. Change the frames coordinates and check that its position is updated. 
     26 * Create frame with concrete coordinates and check if they are correct.  
     27 * Try creating a frame with incorrect coordinates. 
     28 * Change the frames coordinates and check that its position is updated.