Changes between Version 6 and Version 7 of wxGUIDevelopment/GUIForPs.map
- Timestamp:
- 02/03/11 23:02:29 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wxGUIDevelopment/GUIForPs.map
v6 v7 35 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. 36 36 * 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. 37 38 === Open Tickets === 39 40 [[TicketQuery(status=new|assigned|reopened&component=Ps.map)]] 41