Revision 29272 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/MapContext.java
MapContext.java | ||
---|---|---|
47 | 47 |
import java.util.List; |
48 | 48 |
import java.util.prefs.Preferences; |
49 | 49 |
|
50 |
import javax.print.attribute.PrintRequestAttributeSet; |
|
51 |
|
|
52 | 50 |
import org.cresques.cts.ICoordTrans; |
53 | 51 |
import org.cresques.cts.IProjection; |
54 | 52 |
import org.cresques.geo.Projected; |
53 |
import org.gvsig.compat.print.PrintAttributes; |
|
55 | 54 |
import org.gvsig.fmap.dal.exception.ReadException; |
56 | 55 |
import org.gvsig.fmap.dal.feature.FeatureStoreNotification; |
57 | 56 |
import org.gvsig.fmap.geom.GeometryLocator; |
... | ... | |
343 | 342 |
* A hierarchy of {@link FLayers FLayers} nodes. |
344 | 343 |
* |
345 | 344 |
* @see #getLayers() |
346 |
* @see #print(Graphics2D, double, PrintRequestAttributeSet)
|
|
345 |
* @see #print(Graphics2D, double, PrintAttributes)
|
|
347 | 346 |
*/ |
348 | 347 |
protected FLayers layers; |
349 | 348 |
|
... | ... | |
353 | 352 |
* @see #getGraphicsLayer() |
354 | 353 |
* @see #setGraphicsLayer(GraphicLayer) |
355 | 354 |
* @see #drawGraphics(BufferedImage, Graphics2D, Cancellable, double) |
356 |
* @see #print(Graphics2D, double, PrintRequestAttributeSet)
|
|
355 |
* @see #print(Graphics2D, double, PrintAttributes)
|
|
357 | 356 |
*/ |
358 | 357 |
private GraphicLayer tracLayer = new GraphicLayer(); |
359 | 358 |
|
... | ... | |
749 | 748 |
* if fails reading with driver. |
750 | 749 |
* |
751 | 750 |
* @see FLayers#print(Graphics2D, ViewPort, Cancellable, double, |
752 |
* PrintRequestAttributeSet)
|
|
751 |
* PrintAttributes)
|
|
753 | 752 |
* @see GraphicLayer#draw(BufferedImage, Graphics2D, ViewPort, Cancellable, |
754 | 753 |
* double) |
755 | 754 |
*/ |
756 | 755 |
public void print(Graphics2D g, double scale, |
757 |
PrintRequestAttributeSet properties) throws ReadException,
|
|
756 |
PrintAttributes properties) throws ReadException,
|
|
758 | 757 |
MapContextException { |
759 | 758 |
RenderingHints renderHints = new RenderingHints( |
760 | 759 |
RenderingHints.KEY_ANTIALIASING, |
Also available in: Unified diff