root / branches / v2_0_0_prep / libraries / libFMap_mapcontext / src / org / gvsig / fmap / mapcontext / MapContextDrawer.java @ 26225
History | View | Annotate | Download (728 Bytes)
1 |
package org.gvsig.fmap.mapcontext; |
---|---|
2 |
|
3 |
import java.awt.Graphics2D; |
4 |
import java.awt.image.BufferedImage; |
5 |
|
6 |
import javax.print.attribute.PrintRequestAttributeSet; |
7 |
|
8 |
import org.gvsig.fmap.dal.exception.ReadException; |
9 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
10 |
import org.gvsig.tools.task.Cancellable; |
11 |
|
12 |
public interface MapContextDrawer { |
13 |
|
14 |
public void setMapContext(MapContext mapContext); |
15 |
public void setViewPort(ViewPort viewPort); |
16 |
public void draw(FLayers root, BufferedImage image, Graphics2D g, Cancellable cancel, |
17 |
double scale) throws ReadException; |
18 |
public void print(FLayers root, Graphics2D g, Cancellable cancel, |
19 |
double scale, PrintRequestAttributeSet properties) throws ReadException; |
20 |
public void dispose(); |
21 |
} |