Revision 29972 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/primitive/impl/EllipticArc2D.java

View differences:

EllipticArc2D.java
390 390
			double angle = UtilFunctions.getAngle(axis1Start, axis1End);
391 391
			AffineTransform mT = AffineTransform.getRotateInstance(angle, axis1Start
392 392
					.getX(), axis1Start.getY());
393
			gp = new GeneralPathX(arc);
393
			gp = new GeneralPathX(arc.getPathIterator(null));
394 394
			gp.transform(mT);
395 395

  
396 396
		}
......
460 460
			double angle = UtilFunctions.getAngle(axis1Start, axis1End);
461 461
			AffineTransform mT = AffineTransform.getRotateInstance(angle, axis1Start
462 462
					.getX(), axis1Start.getY());
463
			gp = new GeneralPathX(arc);
463
			gp = new GeneralPathX(arc.getPathIterator(null));
464 464
			gp.transform(mT);
465 465

  
466 466
		}
......
525 525
			double angle = UtilFunctions.getAngle(axis1Start, axis1End);
526 526
			AffineTransform mT = AffineTransform.getRotateInstance(angle, axis1Start
527 527
					.getX(), axis1Start.getY());
528
			gp = new GeneralPathX(arc);
528
			gp = new GeneralPathX(arc.getPathIterator(null));
529 529
			gp.transform(mT);
530 530
		}
531 531
	}
......
573 573
				Arc2D.OPEN);
574 574
		AffineTransform mT = AffineTransform.getRotateInstance(angle,
575 575
				center.getX(), center.getY());
576
		GeneralPathX gp = new GeneralPathX(arc);
576
		GeneralPathX gp = new GeneralPathX(arc.getPathIterator(null));
577 577
		gp.transform(mT);
578 578

  
579 579
		this.gp = gp;

Also available in: Unified diff