* Return a Tcl formatted (space separated) list of two image coordinate values
* for the given screen coordinate point.
*/
protected String getCoords(Point2D.Double p) {
CoordinateConverter coordinateConverter = imageDisplay.getCoordinateConverter();
coordinateConverter.screenToImageCoords(p, false);
return Double.toString(p.getX()) + " " + Double.toString(p.getY());
}
/**
* Return a Tcl formatted list of Tk canvas item style configuration options