Revision 21299 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameSymbol.java
FFrameSymbol.java | ||
---|---|---|
50 | 50 |
import java.awt.geom.Rectangle2D; |
51 | 51 |
import java.awt.image.BufferedImage; |
52 | 52 |
|
53 |
import org.gvsig.data.ReadException; |
|
53 | 54 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SymbolDrawingException; |
54 | 55 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SymbologyFactory; |
55 | 56 |
|
56 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
57 | 57 |
import com.iver.andami.PluginServices; |
58 | 58 |
|
59 | 59 |
|
... | ... | |
82 | 82 |
* @param imgBase Imagen para acelerar el dibujado. |
83 | 83 |
*/ |
84 | 84 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
85 |
BufferedImage imgBase) throws ReadDriverException {
|
|
85 |
BufferedImage imgBase) throws ReadException { |
|
86 | 86 |
Rectangle2D.Double re = getBoundingBox(at); |
87 | 87 |
g.rotate(Math.toRadians(getRotation()), re.x + (re.width / 2), |
88 | 88 |
re.y + (re.height / 2)); |
... | ... | |
129 | 129 |
* java.awt.geom.AffineTransform) |
130 | 130 |
*/ |
131 | 131 |
public void print(Graphics2D g, AffineTransform at) |
132 |
throws ReadDriverException {
|
|
132 |
throws ReadException { |
|
133 | 133 |
draw(g, at, null, null); |
134 | 134 |
} |
135 | 135 |
|
Also available in: Unified diff