Revision 1692 org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.swing/org.gvsig.raster.georeferencing.swing.api/src/main/java/org/gvsig/raster/georeferencing/swing/view/GeoreferencingView.java

View differences:

GeoreferencingView.java
21 21
 */
22 22
package org.gvsig.raster.georeferencing.swing.view;
23 23

  
24
import java.awt.Graphics2D;
25

  
24 26
import javax.swing.JPanel;
25 27

  
26 28
/**
......
35 37
	public void setRequestListener(IExtensionRequest listener);
36 38
	
37 39
	public void setTool(int tool, ToolListener listener);
40
	
41
	/**
42
	 * Gets the Graphics object
43
	 * @return
44
	 */
45
	public Graphics2D getCanvasGraphic();
46
	
47
	/**
48
	 * Gets the width of the canvas
49
	 * @return 
50
	 */
51
	public int getCanvasWidth();
52
	
53
	/**
54
	 * Gets the height of the canvas
55
	 * @return
56
	 */
57
	public int getCanvasHeight();
58
	
59
	/**
60
	 * Sets the cursor position on the canvas
61
	 * @param x 
62
	 * @param y 
63
	 */
64
	public void setCursorPosition(int x, int y);
65
	
66
	/**
67
	 * Sets the cursor size
68
	 * @param w 
69
	 * @param h 
70
	 */
71
	public void setCursorSize(int w, int h);
38 72
}

Also available in: Unified diff