Ignore:
Timestamp:
2015-03-03T17:08:26+01:00 (10 years ago)
Author:
malcolmh
Message:

[seachart]update & tidy directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/render/Renderer.java

    r31031 r31044  
    3636        static int zoom;
    3737
    38         public static void reRender(Graphics2D g, Rectangle rect, int z, double factor, S57map m, ChartContext c) {
     38        public static void reRender(Graphics2D g, RuleSet set, Rectangle rect, int z, double factor, S57map m, ChartContext c) {
    3939                g2 = g;
    4040                zoom = z;
     
    4343                sScale = symbolScale[zoom] * factor;
    4444                if (map != null) {
    45                         g2.setBackground(Rules.Bwater);
     45                        g2.setBackground(Symbols.Bwater);
    4646                        g2.clearRect(rect.x, rect.y, rect.width, rect.height);
    4747                        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    4848                        g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_GASP);
    4949                        g2.setStroke(new BasicStroke(0, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER));
    50                         Rules.rules(RuleSet.BASE);
     50                        Rules.rules(set);
    5151                }
    5252        }
     
    327327        }
    328328
    329        
    330329        public static void fillPattern(Feature feature, BufferedImage image) {
    331330                Path2D.Double p = new Path2D.Double();
Note: See TracChangeset for help on using the changeset viewer.