Logo Search packages:      
Sourcecode: wims version File versions  Download package

double edu::hws::jcm::draw::CoordinateRect::getPixelHeight (  )  [inline]

Return the height of one pixel in this coordinate system. (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 391 of file CoordinateRect.java.

Referenced by edu::hws::jcm::draw::Grid::draw(), edu::hws::jcm::draw::DrawGeometric::draw(), and edu::hws::jcm::draw::Panner::mouseDragged().

      return (ymax - ymin)/(height-2*gap-1);

Generated by  Doxygen 1.6.0   Back to index