[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java,1.1,1.2
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2005-08-05 11:05:27
|
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(); + } |