Revision 37958 trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/symbols/MarkerFillSymbol.java

View differences:

MarkerFillSymbol.java
252 252
			BufferedImage sample = null;
253 253
			sample = new BufferedImage(size, size, BufferedImage.TYPE_INT_ARGB);
254 254
			Graphics2D gAux = sample.createGraphics();
255
			gAux.setRenderingHint(RenderingHints.KEY_ANTIALIASING,	RenderingHints.VALUE_ANTIALIAS_ON);
255 256

  
256 257
			try {
257 258
				markerSymbol.drawInsideRectangle(gAux, gAux.getTransform(), rProv, null);
......
276 277

  
277 278
			BufferedImage bi = new BufferedImage(rProv.width, rProv.height, BufferedImage.TYPE_INT_ARGB);
278 279
			gAux = bi.createGraphics();
280
			gAux.setRenderingHint(RenderingHints.KEY_ANTIALIASING,	RenderingHints.VALUE_ANTIALIAS_ON);
281

  
279 282
			gAux.drawImage(sample, null, (int) (xSeparation*0.5), (int) (ySeparation*0.5));
280 283
		
281 284
			resulPatternFill = new TexturePaint(bi,rProv);

Also available in: Unified diff