Revision 392 trunk/org.gvsig.app.document.layout2.app/org.gvsig.app.document.layout2.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameView.java
FFrameView.java | ||
---|---|---|
1040 | 1040 |
@Override |
1041 | 1041 |
public void setBoundBox(Rectangle2D r) { |
1042 | 1042 |
super.setBoundBox(r); |
1043 |
if (getMapContext()!=null) {
|
|
1043 |
if (this.getMapContext()!=null && this.getLayoutContext()!=null) {
|
|
1044 | 1044 |
AffineTransform at = this.getLayoutContext().getAT(); |
1045 | 1045 |
long scale = getMapContext().getScaleView(); |
1046 | 1046 |
getMapContext().getViewPort().setImageSize( |
Also available in: Unified diff