From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51403 Path: news.gmane.org!not-for-mail From: Zhichu Chen Newsgroups: gmane.comp.tex.context Subject: How to "unfill" a picture? Date: Wed, 24 Jun 2009 11:13:58 +0800 Message-ID: <769ba7780906232013r6e343aabn577e902e5dc340d9@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245813302 5731 80.91.229.12 (24 Jun 2009 03:15:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2009 03:15:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 24 05:14:55 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MJIwp-0008Jp-RQ for gctc-ntg-context-518@m.gmane.org; Wed, 24 Jun 2009 05:14:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D213E1FB1D; Wed, 24 Jun 2009 05:14:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14740-04; Wed, 24 Jun 2009 05:14:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 19ED71FAD7; Wed, 24 Jun 2009 05:14:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 758EC1FAD7 for ; Wed, 24 Jun 2009 05:14:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11444-05 for ; Wed, 24 Jun 2009 05:14:04 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id 84B291FA41 for ; Wed, 24 Jun 2009 05:14:04 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5NCJw39006131 for ; Tue, 23 Jun 2009 14:19:58 +0200 Original-Received: by wf-out-1314.google.com with SMTP id 25so136405wfc.5 for ; Tue, 23 Jun 2009 20:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=dK6WbwBrqYalxzPDaB8Ffb/6hbnfJglv/L3DlkbjRys=; b=FczuJlX2Ebj1wFMiDvGolh+Nq1sS7YoVcD56dlEAeDEFK8YqVvqSgkSCPcCqeaH7s/ xDcfNTK6btOtmv7yRVGvyJOUw4x6MOwvA3EdFxtipmaITh/0kUJl1uwrKoZG3lNJ8zY5 07Mtl5xZwcNHcWmod2M0MSUZUGkxDwfXFgeK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wf7GlXJ3eV1LL18yMOix6Qt92jci/BeMuwaM030eSl5C8ecG6zGrLNBy4r3fWCWEiB 4HXDJqAcV4xNBSZU0/LuMjs8Q4gGDpv1whuu1t8wOmJU/SkNwMDbNtVPp7DTaGTyfxZ+ 76uBt3PZU9klkruWfhF93RNktkhOuWeB6v0og= Original-Received: by 10.142.174.20 with SMTP id w20mr236963wfe.285.1245813238233; Tue, 23 Jun 2009 20:13:58 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.200.171; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 248635496 - 6f0324b4aaf1 - 20090624 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51403 Archived-At: Hi, I got a problem in metapost. If I want to draw a ring, and use the code: fill fullcircle scaled 2cm ; unfill fullcircle scaled 1cm ; The inner part is not transparent, it has the color of "background" variable which is "white" by default. This case is a minimal example, I actually wanna draw something more complex, like the glyph "Q" and I know the inner path and outer path. How can I fill the ring without jeopardizing the area inside the inner path? -- Best Regards Chen ---------------------------------------------------------------- Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ---------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________