Changes between Version 55 and Version 56 of BOOK_WINDOW_R1


Ignore:
Timestamp:
05/26/09 09:37:49 (16 years ago)
Author:
sriggins
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_WINDOW_R1

    v55 v56  
    108108  3. Center the page on the page work area 
    109109 
    110       The design was wrong.  SimpleSceneVisual adjusts the actual view rect into negative coordinates, which are then offset by SceneToSwing.  So in order to properly center everything in the page work area, I adjusted actualViewRect to determine an x and y offset based on the deltas between the actual view rect and the minimal view rect.  This offset is then subtracted from the origin, much like the padding is, and causes the page, frames, halos, etc to be centered on the page work area. 
     110      The design was wrong.  SimpleSceneVisual adjusts the actual view rect into negative coordinates, which are then offset by SceneToSwing.  So in order to properly center everything in the page work area, changed actualViewRect to determine an x and y offset based on the deltas between the actual view rect and the minimal view rect.  This offset is then subtracted from the origin, much like the padding is, and causes the page, frames, halos, etc to be centered on the page work area. 
    111111 
    112112  4. Change the page work area to consider the size of the book window as well as the page