Ignore:
Timestamp:
2013-10-20T16:50:35+02:00 (11 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/seamap/Renderer.java

    r30027 r30028  
    5858                pattMap.put(ColPAT.PAT_STRP, Patt.H);
    5959        }
    60 
     60       
    6161        public static final double symbolScale[] = { 256.0, 128.0, 64.0, 32.0, 16.0, 8.0, 4.0, 2.0, 1.0, 0.61, 0.372, 0.227, 0.138, 0.0843, 0.0514, 0.0313, 0.0191, 0.0117, 0.007, 0.138 };
    6262
    63 //      public static final double textScale[] = { 256.0, 128.0, 64.0, 32.0, 16.0, 8.0, 4.0, 2.0, 1.0, 0.5556, 0.3086, 0.1714, 0.0953, 0.0529, 0.0294, 0.0163, 0.0091, 0.0050, 0.0028, 0.0163 };
    64        
    6563        public enum LabelStyle { NONE, RRCT, RECT, ELPS, CIRC, VCLR, HCLR }
    6664
     
    6866        static SeaMap map;
    6967        static double sScale;
    70 //      static double tScale;
    7168        static Graphics2D g2;
    7269        static int zoom;
     
    7875                map = m;
    7976                sScale = symbolScale[zoom] * factor;
    80 //              tScale = textScale[zoom] * factor;
    8177                if (map != null) {
    8278                        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
    8379                        g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_GASP);
     80                        g2.setStroke(new BasicStroke(0, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER));
    8481                        Rules.rules(map, zoom);
    8582                }
Note: See TracChangeset for help on using the changeset viewer.