Revision 2196 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/v02/FGraphicUtilities.java
FGraphicUtilities.java | ||
---|---|---|
233 | 233 |
{ |
234 | 234 |
System.out.println("Entra pol?gono"); |
235 | 235 |
} */ |
236 |
switch (shp.getShapeType()) { |
|
236 |
int type=shp.getShapeType(); |
|
237 |
if (shp.getShapeType()>=FShape.Z){ |
|
238 |
type=shp.getShapeType()-FShape.Z; |
|
239 |
} |
|
240 |
switch (type) { |
|
237 | 241 |
case FShape.POINT: //Tipo punto |
238 | 242 |
drawSymbolPoint(g2, mT, (FPoint2D) shp, theSymbol); |
239 | 243 |
|
... | ... | |
336 | 340 |
width = g2.getFontMetrics().stringWidth(theLabel.getString()); |
337 | 341 |
} |
338 | 342 |
|
339 |
switch (shp.getShapeType()) { |
|
343 |
int type=shp.getShapeType(); |
|
344 |
if (shp.getShapeType()>=FShape.Z){ |
|
345 |
type=shp.getShapeType()-FShape.Z; |
|
346 |
} |
|
347 |
switch (type) { |
|
340 | 348 |
case FShape.POINT: //Tipo punto |
341 | 349 |
pAux = new Point2D.Double(((FPoint2D) shp).getX(), |
342 | 350 |
((FPoint2D) shp).getY()); |
Also available in: Unified diff