Revision 1729 branches/gvSIG_CAD_Layout_version/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/FLayoutDraw.java
FLayoutDraw.java | ||
---|---|---|
45 | 45 |
package com.iver.cit.gvsig.gui.layout; |
46 | 46 |
|
47 | 47 |
import com.iver.cit.gvsig.fmap.DriverException; |
48 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
|
49 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
50 |
import com.iver.cit.gvsig.fmap.edition.EditableFeatureSource; |
|
51 |
import com.iver.cit.gvsig.gui.cad.CadTool; |
|
48 | 52 |
import com.iver.cit.gvsig.gui.layout.fframes.FFrame; |
49 | 53 |
import com.iver.cit.gvsig.gui.layout.fframes.FFrameView; |
50 | 54 |
import com.iver.cit.gvsig.gui.layout.fframes.IFFrame; |
... | ... | |
55 | 59 |
import java.awt.geom.Point2D; |
56 | 60 |
import java.awt.geom.Rectangle2D; |
57 | 61 |
import java.awt.image.BufferedImage; |
62 |
import java.io.IOException; |
|
58 | 63 |
|
59 | 64 |
|
60 | 65 |
/** |
... | ... | |
145 | 150 |
((IFFrame) layout.getFFrames().get(i)).drawSymbolTag(g2); |
146 | 151 |
} |
147 | 152 |
} |
148 |
|
|
153 |
|
|
149 | 154 |
if (!layout.getFFrames().isEmpty()) { |
150 | 155 |
layout.setStatus(Layout.ACTUALIZADO); |
151 | 156 |
} else { |
... | ... | |
208 | 213 |
|
209 | 214 |
g.drawRect((int) r.x, (int) r.y, (int) r.width, (int) r.height); |
210 | 215 |
} |
216 |
|
|
211 | 217 |
} |
212 | 218 |
|
213 |
public void drawGrid(Graphics2D g) |
|
219 |
/* public void drawGrid(Graphics2D g)
|
|
214 | 220 |
{ |
215 | 221 |
int unidadesMin = 6; |
216 | 222 |
double unidadesX = layout.getAtributes().getUnitInPixelsX(); |
... | ... | |
260 | 266 |
} |
261 | 267 |
|
262 | 268 |
} |
269 |
*/ |
|
263 | 270 |
/** |
264 | 271 |
* Dibuja sobre el graphics2d las reglas. |
265 | 272 |
* |
Also available in: Unified diff