[Fwd: Re: [NTG-context] metaobj and transparent colors with \MPcolor]
2 Aug
2004
2 Aug
'04
1:21 p.m.
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
7471
Age (days ago)
7471
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vit Zyka