Revision 11744
branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/FGraphicLabel.java | ||
---|---|---|
48 | 48 |
import com.iver.cit.gvsig.fmap.ViewPort; |
49 | 49 |
import com.iver.cit.gvsig.fmap.core.FPoint2D; |
50 | 50 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
51 |
import com.iver.cit.gvsig.fmap.core.ISymbol; |
|
51 | 52 |
import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
52 | 53 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
53 | 54 |
|
... | ... | |
82 | 83 |
/* (non-Javadoc) |
83 | 84 |
* @see com.iver.cit.gvsig.fmap.rendering.FGraphic#draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol) |
84 | 85 |
*/ |
85 |
public void draw(Graphics2D g, ViewPort viewPort, FSymbol theSymbol) {
|
|
86 |
public void draw(Graphics2D g, ViewPort viewPort, ISymbol theSymbol) {
|
|
86 | 87 |
super.draw(g, viewPort, theSymbol); |
87 | 88 |
FPoint2D theShape = new FPoint2D(theLabel.getOrig()); |
88 | 89 |
theLabel.draw(g, viewPort.getAffineTransform(), theShape, theSymbol); |
Also available in: Unified diff