Changeset 31028 in osm for applications/editors/josm/plugins/seachart/src/render/Renderer.java
- Timestamp:
- 2015-02-20T01:43:42+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Renderer.java
r31027 r31028 19 19 import s57.S57val.*; 20 20 import s57.S57map; 21 import s57.S57obj.Obj;22 21 import s57.S57map.*; 23 22 import symbols.Areas; … … 37 36 static int zoom; 38 37 39 public static void reRender(Graphics2D g, int z, double factor, S57map m, ChartContext c) {38 public static void reRender(Graphics2D g, Rectangle rect, int z, double factor, S57map m, ChartContext c) { 40 39 g2 = g; 41 40 zoom = z; … … 44 43 sScale = symbolScale[zoom] * factor; 45 44 if (map != null) { 45 g2.setBackground(Rules.Bwater); 46 g2.clearRect(rect.x, rect.y, rect.width, rect.height); 46 47 g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); 47 48 g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_GASP);
Note:
See TracChangeset
for help on using the changeset viewer.