Revision 15805
trunk/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.symbols.ISymbol; |
|
51 | 52 |
import com.iver.cit.gvsig.fmap.core.v02.FLabel; |
52 |
import com.iver.cit.gvsig.fmap.core.v02.FSymbol; |
|
53 | 53 |
|
54 | 54 |
/** |
55 | 55 |
* @author fjp |
... | ... | |
82 | 82 |
/* (non-Javadoc) |
83 | 83 |
* @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 | 84 |
*/ |
85 |
public void draw(Graphics2D g, ViewPort viewPort, FSymbol theSymbol) {
|
|
85 |
public void draw(Graphics2D g, ViewPort viewPort, ISymbol theSymbol) {
|
|
86 | 86 |
super.draw(g, viewPort, theSymbol); |
87 | 87 |
FPoint2D theShape = new FPoint2D(theLabel.getOrig()); |
88 | 88 |
theLabel.draw(g, viewPort.getAffineTransform(), theShape, theSymbol); |
Also available in: Unified diff