Revision 37958
trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/symbols/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); |
trunk/extensions/extSymbology/src/org/gvsig/symbology/fmap/symbols/PictureMarkerSymbol.java | ||
---|---|---|
167 | 167 |
if (selImageURL!=null) |
168 | 168 |
setSelImage(selImageURL); |
169 | 169 |
else setSelImage(imageURL); |
170 |
|
|
170 |
setSize(bgImage.getBounds().getHeight()); |
|
171 |
setUnit(-1); |
|
172 |
|
|
171 | 173 |
} |
172 | 174 |
|
173 | 175 |
|
Also available in: Unified diff