source: osm/applications/editors/josm/plugins/seachart/src/render/ChartContext.java@ 32394

Last change on this file since 32394 was 32394, checked in by donvip, 9 years ago

checkstyle

File size: 693 bytes
Line 
1/* Copyright 2014 Malcolm Herring
2 *
3 * This is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, version 3 of the License.
6 *
7 * For a copy of the GNU General Public License, see <http://www.gnu.org/licenses/>.
8 */
9
10package render;
11
12import java.awt.Color;
13import java.awt.geom.Point2D;
14
15import s57.S57map;
16import s57.S57map.Feature;
17import s57.S57map.Snode;
18
19public interface ChartContext {
20 enum RuleSet { ALL, BASE, SEAMARK }
21
22 Point2D getPoint(Snode coord);
23
24 double mile(Feature feature);
25
26 boolean clip();
27
28 Color background(S57map map);
29
30 RuleSet ruleset();
31}
Note: See TracBrowser for help on using the repository browser.