Revision 40727 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.impl/src/main/java/org/gvsig/fmap/geom/primitive/impl/EllipticArc2D.java
EllipticArc2D.java | ||
---|---|---|
380 | 380 |
double angle = UtilFunctions.getAngle(axis1Start, axis1End); |
381 | 381 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, axis1Start |
382 | 382 |
.getX(), axis1Start.getY()); |
383 |
gp = new GeneralPathX(arc.getPathIterator(null)); |
|
383 |
gp = new GeneralPathX(arc.getPathIterator(null, |
|
384 |
geomManager.getFlatness())); |
|
384 | 385 |
gp.transform(mT); |
385 | 386 |
|
386 | 387 |
} |
... | ... | |
450 | 451 |
double angle = UtilFunctions.getAngle(axis1Start, axis1End); |
451 | 452 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, axis1Start |
452 | 453 |
.getX(), axis1Start.getY()); |
453 |
gp = new GeneralPathX(arc.getPathIterator(null)); |
|
454 |
gp = new GeneralPathX(arc.getPathIterator(null, |
|
455 |
geomManager.getFlatness())); |
|
454 | 456 |
gp.transform(mT); |
455 | 457 |
|
456 | 458 |
} |
... | ... | |
515 | 517 |
double angle = UtilFunctions.getAngle(axis1Start, axis1End); |
516 | 518 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, axis1Start |
517 | 519 |
.getX(), axis1Start.getY()); |
518 |
gp = new GeneralPathX(arc.getPathIterator(null)); |
|
520 |
gp = new GeneralPathX(arc.getPathIterator(null, |
|
521 |
geomManager.getFlatness())); |
|
519 | 522 |
gp.transform(mT); |
520 | 523 |
} |
521 | 524 |
} |
... | ... | |
563 | 566 |
Arc2D.OPEN); |
564 | 567 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, |
565 | 568 |
center.getX(), center.getY()); |
566 |
GeneralPathX gp = new GeneralPathX(arc.getPathIterator(null)); |
|
569 |
GeneralPathX gp = new GeneralPathX(arc.getPathIterator(null, |
|
570 |
geomManager.getFlatness())); |
|
567 | 571 |
gp.transform(mT); |
568 | 572 |
|
569 | 573 |
this.gp = gp; |
Also available in: Unified diff