Revision 1691 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrGT2.java
FLyrGT2.java | ||
---|---|---|
109 | 109 |
*/ |
110 | 110 |
public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, Cancellable cancel) throws DriverException { |
111 | 111 |
try { |
112 |
// mapExtent = this.context.getAreaOfInterest(); |
|
112 |
// mapExtent = this.context.getAreaOfInterest();
|
|
113 | 113 |
m_lyrGT2.setVisible(isVisible()); |
114 | 114 |
Envelope envelope = new Envelope(viewPort.getExtent().getMinX(), |
115 | 115 |
viewPort.getExtent().getMinY(), viewPort.getExtent().getMaxX(), |
... | ... | |
124 | 124 |
m_lyrGT2.getStyle().getFeatureTypeStyles(), viewPort.getAffineTransform(), |
125 | 125 |
mapContextGT2.getCoordinateReferenceSystem()); */ |
126 | 126 |
Rectangle r = new Rectangle(viewPort.getImageSize()); |
127 |
long t1 = System.currentTimeMillis(); |
|
127 | 128 |
liteR2.paint(g,r, viewPort.getAffineTransform()); |
129 |
long t2 = System.currentTimeMillis(); |
|
130 |
System.out.println("Tiempo en pintar capa " + getName() + " de GT2:" + (t2- t1) + " milisegundos"); |
|
128 | 131 |
} catch (Exception exception) { |
129 | 132 |
exception.printStackTrace(); |
130 | 133 |
} |
Also available in: Unified diff