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 |
|
---|
10 | package render;
|
---|
11 |
|
---|
12 | import java.awt.Color;
|
---|
13 | import java.awt.geom.Point2D;
|
---|
14 |
|
---|
15 | import s57.S57map;
|
---|
16 | import s57.S57map.Feature;
|
---|
17 | import s57.S57map.Snode;
|
---|
18 |
|
---|
19 | public 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.