Changeset 341 in josm
- Timestamp:
- 2007-10-05T02:25:55+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branch/0.5/src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java
r340 r341 174 174 */ 175 175 protected void drawSegment(Node n1, Node n2, Color col, boolean showDirection) { 176 g.setColor(col); 176 177 if (col != currentColor) { 178 displaySegments(col); 179 } 180 177 181 Point p1 = nc.getPoint(n1.eastNorth); 178 182 Point p2 = nc.getPoint(n2.eastNorth); … … 182 186 if (screen.contains(p1.x, p1.y, p2.x, p2.y) || screen.intersectsLine(line)) 183 187 { 184 g.drawLine(p1.x, p1.y, p2.x, p2.y);185 188 currentPath.moveTo(p1.x, p1.y); 186 189 currentPath.lineTo(p2.x, p2.y);
Note:
See TracChangeset
for help on using the changeset viewer.