From: Willi Egger <w.egger@boede.nl>
Subject: Colors changing when applying "transparent"
Date: Tue, 25 Nov 2003 09:20:28 +0100 [thread overview]
Message-ID: <6.0.0.22.1.20031125091011.01b77a68@digitpaint.nl> (raw)
Hi,
I would like to use transparnt colors in one of the documents. However the
resulting color is different with transparent color. Could anyone try the
following code twice setting the %-sign in front of the fill-statement:
\setupoutput[pdftex]
\starttext
\setupcolors[state=start]
\startuseMPgraphic{tBG}
path p ;
p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
fill p withcolor \MPcolor{white}; % With normal colors, everything
is fine (blue is really RGB(0,0,1)
% fill p withcolor transparent("normal",.5,\MPcolor{white}); %
This however results in fading of ALL of the colors...
\stopuseMPgraphic
\defineoverlay[textBG][\useMPgraphic{tBG}]
\setupbackgrounds[page][background=color,backgroundcolor=blue]
\setupbackgrounds[text][background=textBG]
\input tufte
\stoptext
I would expect that the optical appearance of blue shoud not change after
application of the transparent color to the gray areq.
Regards Willi
next reply other threads:[~2003-11-25 8:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 8:20 Willi Egger [this message]
2003-11-25 9:37 ` Hans Hagen
2003-11-25 11:46 ` Willi Egger
2003-11-25 12:10 ` Hans Hagen
2003-11-25 13:00 ` Willi Egger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6.0.0.22.1.20031125091011.01b77a68@digitpaint.nl \
--to=w.egger@boede.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).