From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15893 Path: main.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: Re: metaobj and transparent colors with \MPcolor Date: Mon, 2 Aug 2004 13:44:58 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040802114457.GB2960@cebitec.uni-bielefeld.de> References: <20040723075321.GA19666@cebitec.uni-bielefeld.de> <4100DE3C.90609@seznam.cz> <41015B24.6090807@wxs.nl> <20040727110235.GC25818@cebitec.uni-bielefeld.de> <410A1E21.3030803@seznam.cz> <20040802091158.GB1204@cebitec.uni-bielefeld.de> <410E237B.4030807@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 X-Trace: sea.gmane.org 1091447326 14223 80.91.224.253 (2 Aug 2004 11:48:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 11:48:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 02 13:48:39 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 1BrbJ1-0005Gh-00 for ; Mon, 02 Aug 2004 13:48:39 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80078127CA; Mon, 2 Aug 2004 13:48:39 +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 18441-08; Mon, 2 Aug 2004 13:48:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 035F1127C5; Mon, 2 Aug 2004 13:45:15 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1FC70127C5 for ; Mon, 2 Aug 2004 13:45:14 +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 18441-06 for ; Mon, 2 Aug 2004 13:45:13 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (unknown [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 96A71127C4 for ; Mon, 2 Aug 2004 13:45:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 4D82F2D605 for ; Mon, 2 Aug 2004 13:45:13 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22600-01-8 for ; Mon, 2 Aug 2004 13:45:13 +0200 (MEST) Original-Received: from mowgli.Genetik.Uni-Bielefeld.DE (mowgli.CeBiTec.Uni-Bielefeld.DE [129.70.160.61]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 0A6492D601 for ; Mon, 2 Aug 2004 13:45:13 +0200 (MEST) Original-Received: by mowgli.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id D04DABE3; Mon, 2 Aug 2004 13:45:12 +0200 (MEST) Original-To: Vit Zyka Content-Disposition: inline In-Reply-To: <410E237B.4030807@seznam.cz> User-Agent: Mutt/1.4.1i Resent-From: eckhart.guthoehrlein@uni-bielefeld.de Resent-Date: Mon, 2 Aug 2004 13:45:12 +0200 Resent-To: ntg-context@ntg.nl Resent-Message-Id: <20040802114512.D04DABE3@mowgli.Genetik.Uni-Bielefeld.DE> X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de 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:15893 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15893 On Mon, Aug 02, 2004 at 01:20:27PM +0200, Vit Zyka wrote: > >>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. Yes of course. Sorry. > 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... Indeed, the hack works for me. Thank you very much for your time and effort! -- Eckhart