Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameGroup.java
FFrameGroup.java | ||
---|---|---|
51 | 51 |
import java.awt.image.BufferedImage; |
52 | 52 |
import java.util.ArrayList; |
53 | 53 |
|
54 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
54 | 55 |
import com.iver.andami.PluginServices; |
55 | 56 |
import com.iver.andami.messages.NotificationManager; |
56 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
57 | 57 |
import com.iver.cit.gvsig.fmap.core.FShape; |
58 | 58 |
import com.iver.cit.gvsig.project.Project; |
59 | 59 |
import com.iver.cit.gvsig.project.documents.exceptions.OpenException; |
... | ... | |
139 | 139 |
* @param at Transformada afin. |
140 | 140 |
* @param rv rect?ngulo sobre el que hacer un clip. |
141 | 141 |
* @param imgBase Imagen utilizada para acelerar el dibujado. |
142 |
* |
|
143 |
* @throws DriverException |
|
144 | 142 |
*/ |
145 | 143 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
146 |
BufferedImage imgBase) throws DriverException { |
|
144 |
BufferedImage imgBase) throws ReadDriverException {
|
|
147 | 145 |
Rectangle2D.Double r = getBoundingBox(at); |
148 | 146 |
g.rotate(Math.toRadians(getRotation()), r.x + (r.width / 2), |
149 | 147 |
r.y + (r.height / 2)); |
... | ... | |
304 | 302 |
* java.awt.geom.AffineTransform) |
305 | 303 |
*/ |
306 | 304 |
public void print(Graphics2D g, AffineTransform at,FShape shape) |
307 |
throws DriverException { |
|
305 |
throws ReadDriverException {
|
|
308 | 306 |
Rectangle2D.Double r = getBoundingBox(at); |
309 | 307 |
g.rotate(Math.toRadians(getRotation()), r.x + (r.width / 2), |
310 | 308 |
r.y + (r.height / 2)); |
Also available in: Unified diff