Revision 8516 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/FGeometry.java

View differences:

FGeometry.java
140 140
     * @see com.iver.cit.gvsig.fmap.core.IGeometry#drawInts(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol)
141 141
     */
142 142
    public void drawInts(Graphics2D g, ViewPort vp, ISymbol symbol) {
143
        FShape decimatedShape = FConverter.transformToInts(this, vp.getAffineTransform());
144
        symbol.draw(g, vp.getAffineTransform(), decimatedShape);
143
    	try
144
    	{
145
    		FShape decimatedShape = FConverter.transformToInts(this, vp.getAffineTransform());
146
    		symbol.draw(g, vp.getAffineTransform(), decimatedShape);
147
    	}
148
    	catch (Exception e)
149
    	{
150
    		e.printStackTrace();
151
    	}
145 152
        // FGraphicUtilities.DrawShape(g, vp.getAffineTransform(), decimatedShape, symbol);
146 153
    }
147 154

  
......
173 180
		// return shp.getBounds2D();
174 181
		return bounds2D;
175 182
	}
176
	
183

  
177 184
	public Rectangle2D reCalculateBounds2D()
178 185
	{
179 186
		return shp.getBounds2D();
......
225 232
	}
226 233

  
227 234

  
228
	
235

  
229 236
    /* (non-Javadoc)
230 237
     * @see com.iver.cit.gvsig.fmap.core.IGeometry#fastIntersects(double, double, double, double)
231 238
     */

Also available in: Unified diff