Revision 91 trunk/libraries/libCq CMS for java.old/src/org/cresques/px/PxObjList.java

View differences:

PxObjList.java
11 11
import org.cresques.geo.Projected;
12 12
import org.cresques.geo.Projection;
13 13
import org.cresques.geo.ReProjection;
14
import org.cresques.geo.ViewPort;
14
import org.cresques.geo.ViewPortData;
15 15

  
16 16
public class PxObjList implements Colored, Drawable, Projected, Extent.Has {
17 17
	Projection proj = null;
......
55 55
	public void setFillColor(Color color) {fColor = color;}
56 56
	public Color getFillColor() { return fColor;	}
57 57

  
58
	public void draw(Graphics2D g, ViewPort vp) {
58
	public void draw(Graphics2D g, ViewPortData vp) {
59 59
		System.err.println("draw :"+this+": "+size()+ "objetos.");
60 60
		if (pc != null) g.setColor(pc);
61 61
		Iterator iter = data.iterator();
......
107 107
	 * Prueba de reproyecci?n.
108 108
	 *
109 109
	 */
110
	public void drawPxContour(Graphics2D g, ViewPort vp, PxContour obj) {
110
	public void drawPxContour(Graphics2D g, ViewPortData vp, PxContour obj) {
111 111
		Projection prj = obj.getProjection();
112 112
		obj.setColor(pc);
113 113
		obj.setFillColor(fColor);

Also available in: Unified diff