Changeset 8419 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/LineClip.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/LineClip.java
r8342 r8419 65 65 boolean done = false; 66 66 67 outcode0 = computeOutCode 68 outcode1 = computeOutCode 67 outcode0 = computeOutCode(x1, y1, xmin, ymin, xmax, ymax); 68 outcode1 = computeOutCode(x2, y2, xmin, ymin, xmax, ymax); 69 69 70 70 do { … … 115 115 * We cannot use Rectangle.outcode since it does not work with long ints. 116 116 */ 117 private static int computeOutCode 117 private static int computeOutCode(long x, long y, long xmin, long ymin, long xmax, long ymax) { 118 118 int code = 0; 119 119 if (y > ymax) {
Note:
See TracChangeset
for help on using the changeset viewer.