Revision 28368 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFramePicture.java
FFramePicture.java | ||
---|---|---|
68 | 68 |
import org.w3c.dom.Element; |
69 | 69 |
import org.w3c.dom.svg.SVGDocument; |
70 | 70 |
|
71 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
72 | 71 |
import com.iver.andami.PluginServices; |
73 | 72 |
import com.iver.andami.messages.NotificationManager; |
74 | 73 |
import com.iver.cit.gvsig.fmap.core.FShape; |
... | ... | |
128 | 127 |
* @param imgBase Imagen para acelerar el dibujado. |
129 | 128 |
*/ |
130 | 129 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
131 |
BufferedImage imgBase) throws ReadDriverException {
|
|
130 |
BufferedImage imgBase) { |
|
132 | 131 |
Rectangle2D.Double r = getBoundingBox(at); |
133 | 132 |
g.rotate(Math.toRadians(getRotation()), r.x + (r.width / 2), |
134 | 133 |
r.y + (r.height / 2)); |
... | ... | |
465 | 464 |
return new FFramePictureDialog(getLayout(), this); |
466 | 465 |
} |
467 | 466 |
|
468 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) throws ReadDriverException {
|
|
467 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) { |
|
469 | 468 |
draw(g, at, null, null); |
470 | 469 |
} |
471 | 470 |
} |
Also available in: Unified diff