|
From: <ai...@us...> - 2011-04-14 19:30:24
|
Revision: 11703
http://plplot.svn.sourceforge.net/plplot/?rev=11703&view=rev
Author: airwin
Date: 2011-04-14 19:30:17 +0000 (Thu, 14 Apr 2011)
Log Message:
-----------
Use the -eofill option for example 27. That means the spirographic
curves will be filled using the even-odd fill rule rather than the
(default) non-zero winding number fill rule. The motivation for this
choice is the even-odd rule produces more "interesting" looking
results for our website than would be produced by the non-zero rule
(where a much larger fraction of the figure tends to be filled).
Modified Paths:
--------------
trunk/scripts/htdocs-gen_plot-examples.sh
Modified: trunk/scripts/htdocs-gen_plot-examples.sh
===================================================================
--- trunk/scripts/htdocs-gen_plot-examples.sh 2011-04-13 18:16:33 UTC (rev 11702)
+++ trunk/scripts/htdocs-gen_plot-examples.sh 2011-04-14 19:30:17 UTC (rev 11703)
@@ -90,14 +90,16 @@
# to explicitly turn graphics AA off any more with
# DRIVEROPT='-drvopt graphics_anti_aliasing=1'
DRIVEROPT=
+ elif [ $exe = "09" -o $exe = "21" ] ; then
+ # Text clipping.
+ DRIVEROPT='-drvopt text_clipping=1'
+ elif [ $exe = "27" ] ; then
+ # even-odd fill rule (a general option rather than a driver option)
+ # generates more interesting results.
+ DRIVEROPT='-eofill'
else
- if [ $exe = "09" -o $exe = "21" ] ; then
- # Text clipping.
- DRIVEROPT='-drvopt text_clipping=1'
- else
- # Otherwise use default graphics AA which is full AA
- DRIVEROPT=
- fi
+ # Otherwise use default graphics AA which is full AA
+ DRIVEROPT=
fi
echo Working on example ${exe} using DRIVEROPT of $DRIVEROPT
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|