Revision 9513 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/ShpStrategy.java
ShpStrategy.java | ||
---|---|---|
258 | 258 |
// geom = ShapeFactory.createPolygon2D(new |
259 | 259 |
// GeneralPathX(bounds)); |
260 | 260 |
|
261 |
|
|
262 |
//JMVIVO: OJO, No colnamos siempre porque |
|
263 |
// el FGeometry.drawInt (a diferencia del |
|
264 |
// FGeometry.draw) clona siempre la geometria |
|
265 |
// antes de pintarla (para transforma a enteros) |
|
261 | 266 |
if (ct != null) { |
262 | 267 |
if (bMustClone) |
263 | 268 |
geom = geom.cloneGeometry(); |
... | ... | |
448 | 453 |
// geom = ShapeFactory.createPolygon2D(new |
449 | 454 |
// GeneralPathX(bounds)); |
450 | 455 |
|
451 |
if (ct != null) { |
|
456 |
// JMVIVO: Clonamos siempre que sea necesario y no |
|
457 |
// solo si hay que reproyectar. Porque el FGeometry.draw |
|
458 |
// va a aplicar la transformacion sobre la geometria original |
|
452 | 459 |
if (bMustClone) |
453 | 460 |
geom = geom.cloneGeometry(); |
461 |
|
|
462 |
if (ct != null) { |
|
454 | 463 |
geom.reProject(ct); |
455 | 464 |
} |
456 | 465 |
|
Also available in: Unified diff