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