Revision 35475 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/geom/operation/Draw.java
Draw.java | ||
---|---|---|
12 | 12 |
public static int CODE = Integer.MIN_VALUE; |
13 | 13 |
|
14 | 14 |
public Object invoke(Geometry geom, GeometryOperationContext ctx) throws GeometryOperationException { |
15 |
DrawOperationContext doc=(DrawOperationContext)ctx; |
|
16 |
AffineTransform at=doc.getViewPort().getAffineTransform(); |
|
17 |
geom.transform(at); |
|
15 |
DrawOperationContext doc = (DrawOperationContext)ctx; |
|
16 |
AffineTransform at = doc.getViewPort().getAffineTransform(); |
|
18 | 17 |
doc.getSymbol().draw(doc.getGraphics(), at, geom, doc.getFeature(), |
19 | 18 |
doc.getCancellable()); |
20 | 19 |
return null; |
Also available in: Unified diff