Ignore:
Timestamp:
2006-03-25T16:21:09+01:00 (18 years ago)
Author:
imi
Message:
  • refactored GpsPoint to be immutable and added LatLon and NorthEast
  • refactored Bounding Box calculations
  • various other renames
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/actions/mapmode/AddLineSegmentAction.java

    r68 r71  
    162162                g.setColor(Color.BLACK);
    163163                g.setXORMode(Color.WHITE);
    164                 Point firstDrawn = mv.getScreenPoint(first.coor);
    165                 Point secondDrawn = mv.getScreenPoint(second.coor);
     164                Point firstDrawn = mv.getPoint(first.eastNorth);
     165                Point secondDrawn = mv.getPoint(second.eastNorth);
    166166                g.drawLine(firstDrawn.x, firstDrawn.y, secondDrawn.x, secondDrawn.y);
    167167                hintDrawn = !hintDrawn;
Note: See TracChangeset for help on using the changeset viewer.