[GRASS-SVN] r45639 - grass/trunk/lib/symbol

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 11 23:50:36 EST 2011


Author: hamish
Date: 2011-03-11 20:50:36 -0800 (Fri, 11 Mar 2011)
New Revision: 45639

Modified:
   grass/trunk/lib/symbol/stroke.c
Log:
hack to make nicer circles with huge symbol size (merge from devbr6)

Modified: grass/trunk/lib/symbol/stroke.c
===================================================================
--- grass/trunk/lib/symbol/stroke.c	2011-03-12 04:47:10 UTC (rev 45638)
+++ grass/trunk/lib/symbol/stroke.c	2011-03-12 04:50:36 UTC (rev 45639)
@@ -74,7 +74,11 @@
 	    }
 	    break;
 	case S_ARC:
-	    da = 10 * PI / 180;	/* later calc from size and tolerance */
+	    if (s >= 50)
+		da = 1 * PI / 180;  /* later calc from size and tolerance */
+	    else
+		da = 10 * PI / 180;
+
 	    r = elem->coor.arc.r;
 	    G_debug(5, "    ARC da = %f r = %f", da, r);
 



More information about the grass-commit mailing list