summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/doc/colors.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/doc/colors.asy')
-rw-r--r--Build/source/utils/asymptote/doc/colors.asy9
1 files changed, 4 insertions, 5 deletions
diff --git a/Build/source/utils/asymptote/doc/colors.asy b/Build/source/utils/asymptote/doc/colors.asy
index ea576379deb..2f2bf988d0c 100644
--- a/Build/source/utils/asymptote/doc/colors.asy
+++ b/Build/source/utils/asymptote/doc/colors.asy
@@ -5,7 +5,7 @@ bool components=false;
pen p;
-void col(bool fill=false ... string[] s) {
+void col(... string[] s) {
for(int n=0; n < s.length; ++n) {
j -= 10;
string s=s[n];
@@ -15,9 +15,8 @@ void col(bool fill=false ... string[] s) {
for(int i=0; i < a.length; ++i)
s += " "+(string) a[i];
}
- if(fill) label(s,(i+10,j),E,p,Fill(gray));
- else label(s,(i+10,j),E,p);
- fill(box((i,j-5),(i+10,j+5)),p);
+ label(s,(i+10,j),E);
+ filldraw(box((i,j-5),(i+10,j+5)),p);
}
}
@@ -91,7 +90,7 @@ i += 150;
j=0;
col("black");
-col("white",fill=true);
+col("white");
j -= 10;
col("orange");