[Fwd: Re: [NTG-context] metaobj and transparent colors with \MPcolor]
![](https://secure.gravatar.com/avatar/3f064216b5088b4646c82e1fc2d58293.jpg?s=120&d=mm&r=g)
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
7317
Age (days ago)
7317
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vit Zyka