Revision 7659 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/DefaultStrategy.java
DefaultStrategy.java | ||
---|---|---|
53 | 53 |
import com.iver.cit.gvsig.fmap.DriverException; |
54 | 54 |
import com.iver.cit.gvsig.fmap.ViewPort; |
55 | 55 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
56 |
import com.iver.cit.gvsig.fmap.core.ISymbol; |
|
56 | 57 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
57 | 58 |
import com.iver.cit.gvsig.fmap.drivers.DriverAttributes; |
58 | 59 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
... | ... | |
145 | 146 |
|
146 | 147 |
/** |
147 | 148 |
* @see com.iver.cit.gvsig.fmap.operations.LayerOperations#draw(java.awt.image.BufferedImage, |
148 |
* java.awt.Graphics2D, FStyle2D)
|
|
149 |
* java.awt.Graphics2D, ISymbol)
|
|
149 | 150 |
*/ |
150 | 151 |
public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, |
151 | 152 |
Cancellable cancel) throws DriverException { |
... | ... | |
203 | 204 |
// if (geom.intersects(extent)) { |
204 | 205 |
if (geom.fastIntersects(extent.getMinX(), extent.getMinY(), |
205 | 206 |
extent.getWidth(), extent.getHeight())) { |
206 |
FSymbol symbol = l.getSymbol(i);
|
|
207 |
ISymbol symbol = l.getSymbol(i);
|
|
207 | 208 |
|
208 | 209 |
if (symbol ==null) |
209 | 210 |
continue; |
210 | 211 |
if (bitSet != null) |
211 | 212 |
if (bitSet.get(i)) { |
212 |
symbol = FSymbol.getSymbolForSelection(symbol);
|
|
213 |
symbol = symbol.getSymbolForSelection();
|
|
213 | 214 |
} |
214 | 215 |
geom.draw(g, viewPort, symbol); |
215 | 216 |
|
Also available in: Unified diff