[Mapserver-users] rectObj->fit()

Abram Gillespie agillesp at vt.edu
Fri Jul 9 00:51:58 EDT 2004


I'm having trouble understanding rectObj->fit().  What are units are 
the input arguments?  I figured they'd be in the units of the map.  For 
instance, I'd like to grow a given rectangle by 1000'  So I'd think I'd 
do something like:

$x = $rect->fit(1000, 1000);

What is the double that's returned?  I thought that might be the factor 
I would grow or shrink the original rectangle.  Would someone help 
please ... maybe post some example code?

Thanks.
-Abe




More information about the mapserver-users mailing list