Revision 13749 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java
FLyrVect.java | ||
---|---|---|
47 | 47 |
import java.awt.image.BufferedImage; |
48 | 48 |
import java.io.File; |
49 | 49 |
import java.net.URI; |
50 |
import java.net.URL; |
|
51 | 50 |
import java.util.ArrayList; |
52 | 51 |
|
53 | 52 |
import javax.print.attribute.PrintRequestAttributeSet; |
... | ... | |
99 | 98 |
import com.iver.cit.gvsig.fmap.operations.strategies.FeatureVisitor; |
100 | 99 |
import com.iver.cit.gvsig.fmap.operations.strategies.Strategy; |
101 | 100 |
import com.iver.cit.gvsig.fmap.operations.strategies.StrategyManager; |
102 |
import com.iver.cit.gvsig.fmap.rendering.IClassifiedVectorialLegend; |
|
103 | 101 |
import com.iver.cit.gvsig.fmap.rendering.ILegend; |
104 | 102 |
import com.iver.cit.gvsig.fmap.rendering.IVectorialLegend; |
105 | 103 |
import com.iver.cit.gvsig.fmap.rendering.LegendChangedEvent; |
... | ... | |
114 | 112 |
import com.iver.cit.gvsig.fmap.spatialindex.QuadtreeGt2; |
115 | 113 |
import com.iver.cit.gvsig.fmap.spatialindex.QuadtreeJts; |
116 | 114 |
import com.iver.cit.gvsig.fmap.spatialindex.SpatialIndexException; |
117 |
import com.iver.cit.gvsig.fmap.tools.BehaviorException; |
|
118 | 115 |
import com.iver.utiles.FileUtils; |
119 | 116 |
import com.iver.utiles.IPersistance; |
120 | 117 |
import com.iver.utiles.NotExistInXMLEntity; |
... | ... | |
425 | 422 |
if (x<0 || y<0 || x>= imageLevels[zSort.getSymbolLevel(mySym)].getWidth() || y>=imageLevels[zSort.getSymbolLevel(mySym)].getHeight()) continue; |
426 | 423 |
imageLevels[zSort.getSymbolLevel(mySym)].setRGB(x, y, mySym.getOnePointRgb()); |
427 | 424 |
} else { |
428 |
// geom.drawInts(graphics[zSort.getSymbolLevel(mySym)], viewPort, mySym); |
|
429 |
|
|
430 | 425 |
if (!bDrawCartographicSupport) { |
431 | 426 |
geom.drawInts(graphics[zSort.getSymbolLevel(mySym)], viewPort, mySym); |
432 | 427 |
} else { |
... | ... | |
504 | 499 |
|
505 | 500 |
public void draw(BufferedImage image, Graphics2D g, ViewPort viewPort, |
506 | 501 |
Cancellable cancel, double scale) throws ReadDriverException { |
507 |
forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD = false;
|
|
502 |
forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD = true;
|
|
508 | 503 |
if (forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD) { |
509 | 504 |
_draw(image, g, viewPort, cancel, scale); |
510 | 505 |
} else { |
... | ... | |
1470 | 1465 |
|
1471 | 1466 |
} |
1472 | 1467 |
|
1473 |
} |
|
1474 |
// TODO lines |
|
1475 |
// TODO polygon |
|
1468 |
} |
|
1476 | 1469 |
return onePoint; |
1477 | 1470 |
} |
1478 | 1471 |
/* |
... | ... | |
1500 | 1493 |
public void drawLabels(BufferedImage image, Graphics2D g, ViewPort viewPort, |
1501 | 1494 |
Cancellable cancel, double scale) throws ReadDriverException { |
1502 | 1495 |
if (isWithinScale(scale)) { |
1503 |
strategy.draw(image, g, viewPort, cancel);
|
|
1496 |
strategy.draw(image, g, viewPort, cancel);
|
|
1504 | 1497 |
} |
1505 | 1498 |
} |
1506 | 1499 |
|
... | ... | |
1541 | 1534 |
return linkProperties.getLink(this,point,tolerance); |
1542 | 1535 |
} |
1543 | 1536 |
|
1544 |
} |
|
1537 |
} |
Also available in: Unified diff