Changes between Version 3 and Version 4 of FRAME_BOUNDS_R0


Ignore:
Timestamp:
12/15/08 19:12:45 (16 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FRAME_BOUNDS_R0

    v3 v4  
    88== Overview == 
    99The frame bounds are the frame size, position and Z order. There are 5 modes in which frame`s bounds could be calculated - Margins mode, Out-Border mode, Mid-Border mode, Padding mode (which is the same as In-Border mode) and Context mode. See [source:trunk/sophie2-platform/doc/spec-diagrams/FrameBounds.png]. Those modes determine the rectangular all coordinates are related to. The default mode is the Content mode.  
    10 There are also 9 special points that could be observed when calculating frame coordinates - TOP_LEFT, TOP_MIDDLE, TOP_RIGHT, MIDDLE_LEFT, MIDDLE, MIDDLE_RIGHT,BOTTOM_LEFT, BOTTOM_MIDDLE, BOTTOM_RIGHT. The default one is the TOP_LEFT. For example in Padding mode and for TOP_RIGHT special point, the frames position is the position of the upper right point of the padding rectangular and the frame size is calculated including the paddings.  
    11 [[Image()]] 
     10There are also 9 special points that could be observed when calculating frame coordinates - TOP_LEFT, TOP_MIDDLE, TOP_RIGHT, MIDDLE_LEFT, MIDDLE, MIDDLE_RIGHT,BOTTOM_LEFT, BOTTOM_MIDDLE, BOTTOM_RIGHT. The default one is the TOP_LEFT. For example in Padding mode and for TOP_RIGHT special point, the frames position is the position of the upper right point of the padding rectangular and the frame size is calculated including the paddings. 
    1211 
    1312== Task requirements == 
    1413 * There should be representation of those modes and points. 
    15  * There should be a communal hud for setting the frame bounds. 
     14 * (Optional, if there is time) There should be a communal hud for setting the frame bounds. 
    1615 * There should be options for setting and getting the bounds in all modes and relating to all special points. 
    1716 
     
    3029 
    3130== How to demo == 
    32  * Demonstrate the enums.  
     31 * Demonstrate calculating the bounds of a frame using different modes and points. 
    3332 
    3433= Design =