Changeset 8140 in josm
- Timestamp:
- 2015-03-15T16:05:26+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r8113 r8140 321 321 322 322 private boolean leftHandTraffic; 323 private Object antialiasing; 323 324 324 325 /** … … 439 440 440 441 if (!isOutlineOnly) { 442 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); 441 443 if (fillImage == null) { 442 444 if (isInactiveMode) { … … 456 458 g.setPaintMode(); 457 459 } 460 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, antialiasing); 458 461 } 459 462 … … 1396 1399 orderFont = new Font(Main.pref.get("mappaint.font", "Droid Sans"), Font.PLAIN, Main.pref.getInteger("mappaint.fontsize", 8)); 1397 1400 1398 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING,1399 Main.pref.getBoolean("mappaint.use-antialiasing", true) ?1400 RenderingHints.VALUE_ANTIALIAS_ON : RenderingHints.VALUE_ANTIALIAS_OFF);1401 antialiasing = Main.pref.getBoolean("mappaint.use-antialiasing", true) ? 1402 RenderingHints.VALUE_ANTIALIAS_ON : RenderingHints.VALUE_ANTIALIAS_OFF; 1403 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, antialiasing); 1401 1404 1402 1405 highlightLineWidth = Main.pref.getInteger("mappaint.highlight.width", 4); … … 1645 1648 timeStart = System.currentTimeMillis(); 1646 1649 System.err.print("BENCHMARK: rendering "); 1647 Main.debug(null);1648 1650 } 1649 1651
Note:
See TracChangeset
for help on using the changeset viewer.