From: Vit Zyka <vit.zyka@seznam.cz>
Subject: [Fwd: Re: metaobj and transparent colors with \MPcolor]
Date: Mon, 02 Aug 2004 13:21:25 +0200 [thread overview]
Message-ID: <410E23B5.5030508@seznam.cz> (raw)
>>input metaobj;
>>beginfig(1)
>> fill fullcircle scaled 1cm withcolor red;
>> color t; t:=(1,1,0);
>> %setObjectDefaultOption("Box")("fillcolor")(t);
>> newBox.test("");
>> Obj(test).c=origin;
>> drawObj(test);
>>endfig;
>>
>>end.
>
> Your color is not transparent, so it will work as expected: no white
> box.
???
The example demonstrated that it *IS* drawn white box in the background
of every metaobj object. Exactly as you mentioned.
But I had a second look into mpobj.mp and probably find out the white
box tiger. Comment line 750:
unfill BpathObj(n);
I am sure this hack will cause some unpleasant side-effects (e.g. with
shaded boxes) but in some limited situations...
Vit Zyka
reply other threads:[~2004-08-02 11:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=410E23B5.5030508@seznam.cz \
--to=vit.zyka@seznam.cz \
--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).