Revision 28368 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameGraphics.java
FFrameGraphics.java | ||
---|---|---|
54 | 54 |
|
55 | 55 |
import javax.print.attribute.PrintRequestAttributeSet; |
56 | 56 |
|
57 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
58 | 57 |
import com.iver.andami.PluginServices; |
59 | 58 |
import com.iver.cit.gvsig.fmap.core.FShape; |
60 | 59 |
import com.iver.cit.gvsig.fmap.core.SymbologyFactory; |
... | ... | |
234 | 233 |
* @param imgBase DOCUMENT ME! |
235 | 234 |
*/ |
236 | 235 |
public void draw(Graphics2D g, AffineTransform at, Rectangle2D rv, |
237 |
BufferedImage imgBase) throws ReadDriverException {
|
|
236 |
BufferedImage imgBase) { |
|
238 | 237 |
Rectangle2D.Double rect = getBoundingBox(at); |
239 | 238 |
g.rotate(Math.toRadians(getRotation()), rect.x + (rect.width / 2), |
240 | 239 |
rect.y + (rect.height / 2)); |
... | ... | |
695 | 694 |
} |
696 | 695 |
return shapeType; |
697 | 696 |
} |
698 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet printingProperties) throws ReadDriverException {
|
|
697 |
public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet printingProperties) { |
|
699 | 698 |
Rectangle2D.Double rect = getBoundingBox(at); |
700 | 699 |
g.rotate(Math.toRadians(getRotation()), rect.x + (rect.width / 2), |
701 | 700 |
rect.y + (rect.height / 2)); |
Also available in: Unified diff