diff options
author | Karl Berry <karl@freefriends.org> | 2009-07-20 23:59:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-07-20 23:59:26 +0000 |
commit | c575a3e01c48c6807ff66e39df09c16ece08af60 (patch) | |
tree | c3bb87255b16358bb998849d2d83302bedea2e78 /Build/source/utils/asymptote/pen.h | |
parent | 3927b41be4f2831464a2c190c28042b7285dd91b (diff) |
asymptote 1.82
git-svn-id: svn://tug.org/texlive/trunk@14356 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/pen.h')
-rw-r--r-- | Build/source/utils/asymptote/pen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/pen.h b/Build/source/utils/asymptote/pen.h index cc6cdbb9c66..ea7f49be4fe 100644 --- a/Build/source/utils/asymptote/pen.h +++ b/Build/source/utils/asymptote/pen.h @@ -525,6 +525,7 @@ public: void greytocmyk() { grey=1.0-grey; + r=g=b=0.0; color=CMYK; } @@ -578,7 +579,7 @@ public: if(rgb()) rgbtogrey(); else if(cmyk()) cmyktogrey(); if(settings::bw) {grey=(grey == 1.0) ? 1.0 : 0.0;} - } + } else if(settings::rgb && cmyk()) cmyktorgb(); else if(settings::cmyk && rgb()) rgbtocmyk(); } |