Convert a vertical pixel coordinate into a y-coordinate. (This is only valid when the CoordinateRect has actually been displayed. It is meant mainly to be used by Drawables in this CoordinateRect.) Definition at line 444 of file CoordinateRect.java. Referenced by edu::hws::jcm::draw::MouseTracker::checkInput(), edu::hws::jcm::draw::DraggablePoint::continueDrag(), edu::hws::jcm::functions::TableFunctionInput::mouseDragged(), edu::hws::jcm::functions::TableFunctionGraph::mouseDragged(), zoomInOnPixel(), and zoomOutFromPixel(). {
return ymax - ((y-top-gap)*(ymax-ymin)) / (height-2*gap-1);
}
|