Revision 4644 trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/gui/Panels/ZoomControlPanel.java
ZoomControlPanel.java | ||
---|---|---|
341 | 341 |
private BufferedImage imgTmp = null; |
342 | 342 |
private Graphics dbGraphics = null; |
343 | 343 |
private boolean cleanCanvas = false; |
344 |
|
|
344 |
|
|
345 | 345 |
/** |
346 | 346 |
* Puntos inicial y final para el desplazamiento del punto de control |
347 | 347 |
*/ |
... | ... | |
475 | 475 |
} |
476 | 476 |
|
477 | 477 |
//dibujamos |
478 |
zoomControl.getLyrPoints().setDrawView(newViewPort); |
|
478 |
|
|
479 | 479 |
if(zoomControl.getDialog().isEnlarge()){ |
480 |
zoomControl.getLyrPoints().setDrawView(newViewPort); |
|
480 | 481 |
flayers.draw(null, (Graphics2D) dbGraphics, newViewPort,new Cancellable() { |
481 | 482 |
public boolean isCanceled() { |
482 | 483 |
return false; |
483 | 484 |
} |
484 | 485 |
},flayers.getFMap().getScaleView()); |
486 |
zoomControl.getLyrPoints().setDrawView(null); |
|
485 | 487 |
} |
488 |
|
|
489 |
zoomControl.getLyrPoints().setDrawView(newViewPort); |
|
486 | 490 |
flayers.draw(null, gTmp, newViewPort,new Cancellable() { |
487 | 491 |
public boolean isCanceled() { |
488 | 492 |
return false; |
489 | 493 |
} |
490 | 494 |
},flayers.getFMap().getScaleView()); |
495 |
zoomControl.getLyrPoints().setDrawView(null); |
|
491 | 496 |
|
492 | 497 |
} |
493 | 498 |
}catch (DriverException e) { |
Also available in: Unified diff