Changeset 8419 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
- Timestamp:
- 2015-05-23T01:40:23+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r8395 r8419 1320 1320 final double sy = l * (p1.y - p2.y); 1321 1321 1322 orientationArrows.moveTo 1322 orientationArrows.moveTo(p2.x + cosPHI * sx - sinPHI * sy, p2.y + sinPHI * sx + cosPHI * sy); 1323 1323 orientationArrows.lineTo(p2.x, p2.y); 1324 orientationArrows.lineTo 1324 orientationArrows.lineTo(p2.x + cosPHI * sx + sinPHI * sy, p2.y - sinPHI * sx + cosPHI * sy); 1325 1325 } 1326 1326 } … … 1351 1351 1352 1352 onewayPath.moveTo(x, y); 1353 onewayPath.lineTo 1354 onewayPath.lineTo 1353 onewayPath.lineTo(x + cosPHI * sx - sinPHI * sy, y + sinPHI * sx + cosPHI * sy); 1354 onewayPath.lineTo(x + cosPHI * sx + sinPHI * sy, y - sinPHI * sx + cosPHI * sy); 1355 1355 onewayPath.lineTo(x, y); 1356 1356 }
Note:
See TracChangeset
for help on using the changeset viewer.