public double fromScreenX ( double x ) { Point2D src = srcPnt . get ( ) ; Point2D dst = dstPnt . get ( ) ; src . setLocation ( x , 0 ) ; inverse . transform ( src , dst ) ; return dst . getX ( ) ; }
Translates screen x - coordinate to cartesian coordinate .