Revision 65
trunk/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameView.java | ||
---|---|---|
539 | 539 |
return resp; |
540 | 540 |
} |
541 | 541 |
|
542 |
private Rectangle preDraw(Graphics2D g, Rectangle2D.Double rectangleLayout){
|
|
542 |
protected Rectangle preDraw(Graphics2D g, Rectangle2D.Double rectangleLayout){
|
|
543 | 543 |
Rectangle originalClip = null; |
544 | 544 |
if (g.getClipBounds() != null) { |
545 | 545 |
originalClip = (Rectangle) g.getClipBounds().clone(); |
... | ... | |
553 | 553 |
return originalClip; |
554 | 554 |
} |
555 | 555 |
|
556 |
private void postDraw(Graphics2D g, Rectangle2D.Double rectangleLayout, Rectangle2D rectangleView, BufferedImage imgBase,
|
|
556 |
protected void postDraw(Graphics2D g, Rectangle2D.Double rectangleLayout, Rectangle2D rectangleView, BufferedImage imgBase,
|
|
557 | 557 |
Rectangle originalClip, AffineTransform at){ |
558 | 558 |
if (getRotation() != 0) { |
559 | 559 |
g.rotate(Math.toRadians(-getRotation()), rectangleLayout.getCenterX(), rectangleLayout.getCenterY()); |
... | ... | |
597 | 597 |
} |
598 | 598 |
} |
599 | 599 |
|
600 |
private void print(Graphics2D g, AffineTransform at, PrintAttributes printAttributes) {
|
|
600 |
protected void print(Graphics2D g, AffineTransform at, PrintAttributes printAttributes) {
|
|
601 | 601 |
Rectangle2D.Double layoutRectangle = getBoundingBox(at); |
602 | 602 |
|
603 | 603 |
ViewPort viewPort = this.getMapContext().getViewPort(); |
Also available in: Unified diff