* [Fwd: Re: metaobj and transparent colors with \MPcolor]
@ 2004-08-02 11:21 Vit Zyka
0 siblings, 0 replies; only message in thread
From: Vit Zyka @ 2004-08-02 11:21 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-02 11:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-02 11:21 [Fwd: Re: metaobj and transparent colors with \MPcolor] Vit Zyka
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).