Fine, I made it in a very weird way. I constructed a very
strange path to go through the outer path in counter-
clockwise direction and inner path in clockwise dir-
ection and filled it. I don't feel good but it can be done
now.
On Wed, Jun 24, 2009 at 11:13 AM, Zhichu Chen
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 ----------------------------------------------------------------
-- 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 ----------------------------------------------------------------