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/Ellipse2D.java
Ellipse2D.java | ||
---|---|---|
335 | 335 |
double angle = UtilFunctions.getAngle(init, end); |
336 | 336 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, init |
337 | 337 |
.getX(), init.getY()); |
338 |
gp = new GeneralPathX(arc.getPathIterator(null)); |
|
338 |
gp = new GeneralPathX(arc.getPathIterator(null, |
|
339 |
geomManager.getFlatness())); |
|
339 | 340 |
gp.transform(mT); |
340 | 341 |
|
341 | 342 |
} |
... | ... | |
405 | 406 |
double angle = UtilFunctions.getAngle(init, end); |
406 | 407 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, init |
407 | 408 |
.getX(), init.getY()); |
408 |
gp = new GeneralPathX(arc.getPathIterator(null)); |
|
409 |
gp = new GeneralPathX(arc.getPathIterator(null, |
|
410 |
geomManager.getFlatness())); |
|
409 | 411 |
gp.transform(mT); |
410 | 412 |
|
411 | 413 |
} |
... | ... | |
470 | 472 |
double angle = UtilFunctions.getAngle(init, end); |
471 | 473 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, init |
472 | 474 |
.getX(), init.getY()); |
473 |
gp = new GeneralPathX(arc.getPathIterator(null)); |
|
475 |
gp = new GeneralPathX(arc.getPathIterator(null, |
|
476 |
geomManager.getFlatness())); |
|
474 | 477 |
gp.transform(mT); |
475 | 478 |
} |
476 | 479 |
} |
... | ... | |
514 | 517 |
double angle = UtilFunctions.getAngle(axis1Start, axis1End); |
515 | 518 |
AffineTransform mT = AffineTransform.getRotateInstance(angle, |
516 | 519 |
axis1Start.getX(), axis1Start.getY()); |
517 |
GeneralPathX gp = new GeneralPathX(arc.getPathIterator(null)); |
|
520 |
GeneralPathX gp = new GeneralPathX(arc.getPathIterator(null, |
|
521 |
geomManager.getFlatness())); |
|
518 | 522 |
gp.transform(mT); |
519 | 523 |
this.gp = new GeneralPathX(gp.getPathIterator(null)); |
520 | 524 |
this.init = axis1Start; |
Also available in: Unified diff