Changeset 12450 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-07-03T00:44:07+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r12376 r12450 1301 1301 1302 1302 while (dist < segmentLength) { 1303 appen OnewayPath(onewayReversed, start, nx, ny, dist, 3d, onewayArrowsCasing);1304 appen OnewayPath(onewayReversed, start, nx, ny, dist, 2d, onewayArrows);1303 appendOnewayPath(onewayReversed, start, nx, ny, dist, 3d, onewayArrowsCasing); 1304 appendOnewayPath(onewayReversed, start, nx, ny, dist, 2d, onewayArrows); 1305 1305 dist += interval; 1306 1306 } … … 1318 1318 } 1319 1319 1320 private static void appen OnewayPath(boolean onewayReversed, MapViewPoint p1, double nx, double ny, double dist,1320 private static void appendOnewayPath(boolean onewayReversed, MapViewPoint p1, double nx, double ny, double dist, 1321 1321 double onewaySize, Path2D onewayPath) { 1322 1322 // scale such that border is 1 px -
trunk/src/org/openstreetmap/josm/gui/draw/MapViewPath.java
r12399 r12450 406 406 ClampingPathVisitor(MapViewRectangle clip, double strokeOffset, double strokeLength, PathSegmentConsumer consumer) { 407 407 this.clip = clip; 408 this.strokeProgress = Math.m ax(strokeLength - strokeOffset, 0);408 this.strokeProgress = Math.min(strokeLength - strokeOffset, 0); 409 409 this.strokeLength = strokeLength; 410 410 this.consumer = consumer;
Note:
See TracChangeset
for help on using the changeset viewer.