| Line | |
|---|
| 1 | // License: GPL. For details, see LICENSE file.
|
|---|
| 2 | package render;
|
|---|
| 3 |
|
|---|
| 4 | import java.awt.Color;
|
|---|
| 5 | import java.awt.geom.Point2D;
|
|---|
| 6 |
|
|---|
| 7 | import s57.S57map;
|
|---|
| 8 | import s57.S57map.Feature;
|
|---|
| 9 | import s57.S57map.Snode;
|
|---|
| 10 |
|
|---|
| 11 | /**
|
|---|
| 12 | * @author Malcolm Herring
|
|---|
| 13 | */
|
|---|
| 14 | public interface ChartContext {
|
|---|
| 15 | enum RuleSet { ALL, BASE, SEAMARK }
|
|---|
| 16 |
|
|---|
| 17 | Point2D getPoint(Snode coord);
|
|---|
| 18 |
|
|---|
| 19 | double mile(Feature feature);
|
|---|
| 20 |
|
|---|
| 21 | boolean clip();
|
|---|
| 22 |
|
|---|
| 23 | Color background(S57map map);
|
|---|
| 24 |
|
|---|
| 25 | RuleSet ruleset();
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.