Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1201
Modified Files:
View.java
Log Message:
added toCanvasDistance
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** View.java 26 Jul 2005 12:40:30 -0000 1.1
--- View.java 5 Aug 2005 11:05:18 -0000 1.2
***************
*** 38,41 ****
--- 38,48 ----
/**
+ * Return the distance on the canvas matching the given double
+ * @param dist The window coordinates
+ * @return The relative distance
+ */
+ public double toCanvasDistance(double dist);
+
+ /**
* Move the center left/right, up/down, forward/backward
* @param mv the move vector
***************
*** 109,111 ****
--- 116,119 ----
*/
public double[] getAlignPoint();
+
}
|