Revision 303
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 | ||
---|---|---|
589 | 589 |
g.setClip(originalClip.x, originalClip.y, originalClip.width, originalClip.height); |
590 | 590 |
} |
591 | 591 |
} |
592 |
|
|
592 | 593 |
|
594 |
/** |
|
595 |
* @deprecated Use {@link #postDraw(Graphics2D, java.awt.geom.Rectangle2D.Double, AffineTransform)} instead. |
|
596 |
*/ |
|
597 |
@Deprecated |
|
598 |
protected void postDraw(Graphics2D g, Rectangle2D.Double rectangleLayout, Rectangle2D rectangleView, BufferedImage imgBase, Rectangle originalClip, AffineTransform at) { |
|
599 |
postDraw(g, rectangleLayout, at); |
|
600 |
|
|
601 |
} |
|
602 |
|
|
603 |
/** |
|
604 |
* @deprecated Use {@link #preDraw(Graphics2D, java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Double) instead |
|
605 |
*/ |
|
606 |
@Deprecated |
|
607 |
protected Rectangle preDraw(Graphics2D g, Rectangle2D.Double rectangleLayout){ |
|
608 |
Rectangle originalClip = null; |
|
609 |
if (g.getClipBounds() != null) { |
|
610 |
originalClip = (Rectangle) g.getClipBounds().clone(); |
|
611 |
} |
|
612 |
preDraw(g, rectangleLayout, rectangleLayout); |
|
613 |
return originalClip; |
|
614 |
} |
|
615 |
|
|
593 | 616 |
public void print(Graphics2D g, AffineTransform at, Geometry geom, |
594 | 617 |
PrintAttributes printAttributes) { |
595 | 618 |
Rectangle2D.Double rectangleLayout = getBoundingBox(at); |
Also available in: Unified diff