[GRASS-SVN] r34077 - in grass/trunk: include lib/display

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 29 16:52:40 EDT 2008


Author: glynn
Date: 2008-10-29 16:52:40 -0400 (Wed, 29 Oct 2008)
New Revision: 34077

Modified:
   grass/trunk/include/display.h
   grass/trunk/lib/display/cnversions.c
Log:
Add D_fit_u_to_d()


Modified: grass/trunk/include/display.h
===================================================================
--- grass/trunk/include/display.h	2008-10-29 20:43:43 UTC (rev 34076)
+++ grass/trunk/include/display.h	2008-10-29 20:52:40 UTC (rev 34077)
@@ -7,6 +7,7 @@
 /* cnversions.c */
 void D_update_conversions(void);
 void D_fit_d_to_u(void);
+void D_fit_u_to_d(void);
 void D_show_conversions(void);
 
 void D_do_conversions(const struct Cell_head *, double, double, double, double);

Modified: grass/trunk/lib/display/cnversions.c
===================================================================
--- grass/trunk/lib/display/cnversions.c	2008-10-29 20:43:43 UTC (rev 34076)
+++ grass/trunk/lib/display/cnversions.c	2008-10-29 20:52:40 UTC (rev 34077)
@@ -118,6 +118,11 @@
     fit_aspect(&D, &U);
 }
 
+void D_fit_u_to_d(void)
+{
+    fit_aspect(&U, &D);
+}
+
 void D_show_conversions(void)
 {
     fprintf(stderr,



More information about the grass-commit mailing list