Revision 28367 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/symbols/MultiShapeSymbol.java

View differences:

MultiShapeSymbol.java
9 9

  
10 10
import javax.print.attribute.PrintRequestAttributeSet;
11 11

  
12
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
13 12
import com.iver.cit.gvsig.fmap.ViewPort;
14 13
import com.iver.cit.gvsig.fmap.core.CartographicSupportToolkit;
15 14
import com.iver.cit.gvsig.fmap.core.FShape;
......
265 264
	}
266 265

  
267 266
	public void drawInsideRectangle(Graphics2D g,
268
			AffineTransform scaleInstance, Rectangle r) throws SymbolDrawingException {
267
			AffineTransform scaleInstance, Rectangle r, PrintRequestAttributeSet properties) throws SymbolDrawingException {
269 268
		double myWidth =  (r.getWidth()/3);
270 269

  
271 270
		Rectangle rect = new Rectangle(0, r.y, (int) myWidth, r.height);
272 271

  
273 272
		if (marker != null) {
274 273
			g.translate(r.x, r.y);
275
			marker.drawInsideRectangle(g, scaleInstance, rect);
274
			marker.drawInsideRectangle(g, scaleInstance, rect, properties);
276 275
			g.translate(-(r.x), -(r.y));
277 276
		}
278 277

  
279 278
		if (line != null) {
280 279
			g.translate(r.x+myWidth, r.y);
281
			line.drawInsideRectangle(g, scaleInstance, rect);
280
			line.drawInsideRectangle(g, scaleInstance, rect, properties);
282 281
			g.translate(-(r.x+myWidth), -(r.y));
283 282
		}
284 283

  
285 284
		if (fill != null) {
286 285
			g.translate(r.x+myWidth+myWidth, r.y);
287
			fill.drawInsideRectangle(g, scaleInstance, rect);
286
			fill.drawInsideRectangle(g, scaleInstance, rect, properties);
288 287
			g.translate(-(r.x+myWidth+myWidth), -(r.y));
289 288

  
290 289
		}
......
294 293
		return getClass().getName();
295 294
	}
296 295

  
297
	public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties)
298
			throws ReadDriverException {
296
	public void print(Graphics2D g, AffineTransform at, FShape shape, PrintRequestAttributeSet properties) {
299 297
		switch (shape.getShapeType()) {
300 298
		case FShape.POINT: //Tipo punto
301 299
        case FShape.POINT + FShape.Z:

Also available in: Unified diff