Revision 3589 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/v02/FGraphicUtilities.java
FGraphicUtilities.java | ||
---|---|---|
628 | 628 |
w = theSymbol.getSize(); |
629 | 629 |
h = (theSymbol.getIcon().getHeight(null) * w) / theSymbol.getIcon() |
630 | 630 |
.getWidth(null); |
631 |
rectAux.setRect(x - w, y - h, w, h);
|
|
631 |
rectAux.setRect(x - w/2, y - h/2, w, h);
|
|
632 | 632 |
} |
633 | 633 |
|
634 | 634 |
g2.drawImage(theSymbol.getIcon(), rectAux.x, rectAux.y, |
Also available in: Unified diff