Regions Class Reference

List of all members.

Static Public Member Functions

static double makeItFit (double width, double height, double maxWidth, double maxHeight)
 Returns the scale necessary to make width/height fit inside maxWidth/maxHeight.

Detailed Description

This software is distributed under the BSD License.

Author:
Marcello

Definition at line 13 of file Regions.java.


Member Function Documentation

static double makeItFit ( double  width,
double  height,
double  maxWidth,
double  maxHeight 
) [static]

Returns the scale necessary to make width/height fit inside maxWidth/maxHeight.

Parameters:
width 
height 
maxWidth 
maxHeight 
Returns:

Definition at line 24 of file Regions.java.


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:45 2007 for R3 Paper Toolkit by  doxygen 1.4.7