From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15892 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: [Fwd: Re: metaobj and transparent colors with \MPcolor] Date: Mon, 02 Aug 2004 13:21:25 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <410E23B5.5030508@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091445657 10773 80.91.224.253 (2 Aug 2004 11:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 11:20:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 02 13:20:48 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bras4-0003ut-00 for ; Mon, 02 Aug 2004 13:20:48 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 208D7127A7; Mon, 2 Aug 2004 13:20:48 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18209-06-9; Mon, 2 Aug 2004 13:20:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B54FC127BA; Mon, 2 Aug 2004 13:20:44 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C4076127BA for ; Mon, 2 Aug 2004 13:20:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18209-06-8 for ; Mon, 2 Aug 2004 13:20:43 +0200 (CEST) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 3AA22127A7 for ; Mon, 2 Aug 2004 13:20:43 +0200 (CEST) Original-Received: (qmail 22154 invoked from network); 2 Aug 2004 11:20:32 -0000 Original-Received: from unknown (HELO ?192.168.1.45?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 2 Aug 2004 11:20:32 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: cs, en-us, en Original-To: ConTeXt X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15892 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15892 >>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