Revision 24759 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameGraphics.java
FFrameGraphics.java | ||
---|---|---|
54 | 54 |
|
55 | 55 |
import javax.print.attribute.PrintRequestAttributeSet; |
56 | 56 |
|
57 |
import org.gvsig.fmap.data.ReadException;
|
|
57 |
import org.gvsig.fmap.dal.exception.ReadException;
|
|
58 | 58 |
import org.gvsig.fmap.geom.Geometry; |
59 |
|
|
60 | 59 |
import org.gvsig.fmap.mapcontext.rendering.symbols.IMarkerSymbol; |
61 | 60 |
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol; |
62 | 61 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SimpleFillSymbol; |
... | ... | |
318 | 317 |
m_type = xml.getIntProperty("m_type"); |
319 | 318 |
// return; |
320 | 319 |
} |
321 |
if (m_type==RECTANGLESYMBOL) |
|
322 |
return; |
|
320 |
if (m_type==RECTANGLESYMBOL) { |
|
321 |
return; |
|
322 |
} |
|
323 | 323 |
if (xml.getChildrenCount() ==1) { |
324 | 324 |
Rectangle2D r = (Rectangle2D) getBoundBox().clone(); |
325 | 325 |
|
... | ... | |
685 | 685 |
|
686 | 686 |
g.rotate(Math.toRadians(-getRotation()), r.getX() |
687 | 687 |
+ (r.getWidth() / 2), r.getY() + (r.getHeight() / 2)); |
688 |
} |
|
689 |
else
|
|
690 |
super.drawHandlers(g);
|
|
688 |
} else {
|
|
689 |
super.drawHandlers(g);
|
|
690 |
}
|
|
691 | 691 |
} |
692 | 692 |
|
693 | 693 |
public void cloneActions(IFFrame frame) { |
Also available in: Unified diff