Changes between Version 7 and Version 8 of wxGUIDevelopment/GUIForPs.map


Ignore:
Timestamp:
Feb 3, 2011, 11:08:01 PM (13 years ago)
Author:
hamish
Comment:

paint outside the box note

Legend:

Unmodified
Added
Removed
Modified
  • wxGUIDevelopment/GUIForPs.map

    v7 v8  
    3333 * color should support RGB for all instructions (e.g. #192)
    3434 * common usage of ref points and units (absolute, relative)
    35   * The trouble is, percentage is given relative to the map box (which is sized and placed dynamically at run-time), while absolute is given relative to the page size. Although it may seem like it to the end user, the existing usage is not due to the programmer's whim, it is out of necessity.
     35  * The trouble is, percentage is given relative to the map box (which is sized and placed dynamically at run-time), while absolute is given relative to the page size. Although it may seem like it to the end user, the existing usage is not due to the programmer's whim, it is out of necessity. Note that to place relative decorations out-of-box, it is valid to go beyond 0-100% (e.g. -25%, 115%).
    3636  * The GUI has to do these calculations and feed ps.map what it wants in the form it wants. IMO it is not practical to have the python code mirror the C code's placement logic (a lot of work to mimic, then a lot of discipline to keep in sync). This may take a two-pass solution, e.g. a new ps.map flag which would output map box corners in inches and then exit. The GUI could then do the needed conversions between %, PostScript points(?), inches, cm, mm, or map coords. See wish #153.
    3737