ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Zhichu Chen <zhichu.chen@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: How to "unfill" a picture?
Date: Wed, 24 Jun 2009 11:13:58 +0800	[thread overview]
Message-ID: <769ba7780906232013r6e343aabn577e902e5dc340d9@mail.gmail.com> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2009-06-24  3:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24  3:13 Zhichu Chen [this message]
2009-06-24  6:55 ` Zhichu Chen
2009-06-24  7:32   ` Taco Hoekwater
2009-06-24  7:48     ` Zhichu Chen
2009-06-24  9:02       ` Taco Hoekwater
2009-06-24  8:21 ` Wolfgang Schuster
2009-06-24 10:42   ` Zhichu Chen
2009-06-24 10:59     ` Zhichu Chen
2009-06-24 11:29       ` Hans Hagen
2009-06-24 11:42         ` Zhichu Chen
2009-06-24 14:12     ` Nicola
2009-06-24 14:45       ` Zhichu Chen
2009-06-25  5:15         ` Lutz Haseloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=769ba7780906232013r6e343aabn577e902e5dc340d9@mail.gmail.com \
    --to=zhichu.chen@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).