private void addLine( AffineTransform at, ArrayList<PathSegment> segments, double[] coords, Line2D line) { PathIterator iterator = line.getPathIterator(at); iterator.currentSegment(coords); segments.add(new LinePathSegment(coords)); iterator.next(); iterator.currentSegment(coords); segments.add(new LinePathSegment(coords)); }
@Override public PathIterator getPathIterator(AffineTransform arg0, double arg1) { return MainLine.getPathIterator(arg0, arg1); }
public GPathIterator getPathIterator(GAffineTransform at, double flatness) { // TODO Auto-generated method stub return new org.geogebra.desktop.awt.GPathIteratorD( impl.getPathIterator( org.geogebra.desktop.awt.GAffineTransformD.getAwtAffineTransform(at), flatness)); }