Revision 6212 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/MapControl.java
MapControl.java | ||
---|---|---|
44 | 44 |
import java.awt.Dimension; |
45 | 45 |
import java.awt.Graphics; |
46 | 46 |
import java.awt.Graphics2D; |
47 |
import java.awt.GraphicsEnvironment; |
|
47 | 48 |
import java.awt.event.ActionEvent; |
48 | 49 |
import java.awt.event.ActionListener; |
49 | 50 |
import java.awt.event.ComponentEvent; |
... | ... | |
274 | 275 |
{ |
275 | 276 |
image = new BufferedImage(this.getWidth(), this.getHeight(), |
276 | 277 |
BufferedImage.TYPE_INT_ARGB); |
278 |
// ESTILO MAC |
|
279 |
// image = GraphicsEnvironment.getLocalGraphicsEnvironment() |
|
280 |
// .getDefaultScreenDevice().getDefaultConfiguration() |
|
281 |
// .createCompatibleImage(this.getWidth(), this.getHeight()); |
|
277 | 282 |
vp.setImageSize(new Dimension(getWidth(), getHeight())); |
278 | 283 |
getMapContext().getViewPort().setScale(); |
279 | 284 |
|
Also available in: Unified diff