Changeset 29854 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
- Timestamp:
- 2013-08-21T03:47:16+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r28961 r29854 183 183 // flip the image (svg using a reversed Y coordinate system) 184 184 double pivot = viewBox.min.getY() + (viewBox.max.getY() - viewBox.min.getY()) / 2; 185 for (EastNorth en : eastNorth) { 186 en.setLocation(en.east(), 2 * pivot - en.north()); 185 for (int i = 0; i < eastNorth.size(); i++) { 186 EastNorth en = eastNorth.get(i); 187 eastNorth.set(i, new EastNorth(en.east(), 2 * pivot - en.north())); 187 188 } 188 189 return; … … 254 255 svg += line; 255 256 } 257 br.close(); 256 258 bos.close(); 257 259 } catch (IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.