Revision 3059

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/core/v02/FConverter.java
98 98
	private final static AffineTransform at = new AffineTransform();
99 99
	private static double POINT_MARKER_SIZE = 3.0;
100 100
    
101
    private static GeneralPathX newGp = new GeneralPathX(); // Por rapidez
102
    private static double[] theData = new double[6];
103
    private static double[] aux = new double[6];
104 101
    
105 102
	private static PointConverter pointConverter = new PointConverter() {
106 103
			/* (non-Javadoc)
......
769 766
                
770 767
        return newGp;
771 768
    }
772
    public static synchronized FShape transformToInts(IGeometry gp, AffineTransform at) {
773
        newGp.reset();
769
    public static FShape transformToInts(IGeometry gp, AffineTransform at) {
770
        GeneralPathX newGp = new GeneralPathX(); 
771
        double[] theData = new double[6];
772
        double[] aux = new double[6];
773

  
774
        // newGp.reset();
774 775
        GeneralPathXIterator theIterator;
775 776
        int theType;
776 777
        int numParts = 0;

Also available in: Unified diff