Ignore:
Timestamp:
03/18/19 18:38:32 (5 years ago)
Author:
davidb
Message:

Changed how DisplayController width, height and size are retrieved. Now does this top-level, rather than going through the AxisAlignmentBox. In doing so, can now control for when the window size has you yet been correctly mapped to the screen, and fall back to pre-defined MINIMUM defaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/PDF2Writer.java

    r1144 r1258  
    147147
    148148        public PDF2Writer() {
    149                 _pageSize = DisplayController.getFramePaintArea().getSize();
     149                _pageSize = DisplayController.getFramePaintAreaSize();
    150150                _pdfDocument = new Document(new Rectangle(_pageSize.width, _pageSize.height));
    151151        }
Note: See TracChangeset for help on using the changeset viewer.