Changeset 34896 in osm for applications/editors/josm/plugins/seachart/src/render/Renderer.java
- Timestamp:
- 2019-02-15T18:17:18+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/render/Renderer.java
r34652 r34896 602 602 603 603 public static void lightSector(Color col1, Color col2, double radius, double s1, double s2, Double dir, String str) { 604 if ((zoom >= 16) && (radius > 0.2)) {605 radius /= Math.pow(2, zoom-15);606 }607 604 double mid = (((s1 + s2) / 2) + (s1 > s2 ? 180 : 0)) % 360; 608 605 g2.setStroke(new BasicStroke((float) (3.0 * sScale), BasicStroke.CAP_BUTT, BasicStroke.JOIN_ROUND, 1,
Note:
See TracChangeset
for help on using the changeset viewer.