ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Severin Obertuefer" <severin_obertuefer@gmx.ch>
Subject: Re: meta post problem / solution
Date: Wed, 16 Apr 2003 15:25:22 +0200	[thread overview]
Message-ID: <003801c3041b$a29a86d0$e4a2e6c2@ash> (raw)
In-Reply-To: <5.2.0.9.1.20030416134407.0200cbc8@server-1>

hi

this is a nice solution:)
thanks
severin
----- Original Message -----
From: "Hans Hagen" <pragma@wxs.nl>
To: <ntg-context@ntg.nl>
Sent: Wednesday, April 16, 2003 1:46 PM
Subject: Re: [NTG-context] meta post problem / solution


> At 13:19 16/04/2003 +0200, you wrote:
>
> >ok, then I have to solve it in another way, and that leads me to another
> >problem:
> >I have two circles a:= fullcircle sized 1.1; and b:= fullcircle sized
1.4;
> >how can I fill the area between the inner (a) and the outer (b) circle
with
> >a color?? so that the inner circle stays transparent. I think this is
> >something simple but I didn't found an example for that.
>
> well, if you are prepared for a puzzling solution:
>
> % output=pdftex
>
> \starttext
>
> \setupcolors[state=start]
>
> \startMPpage
>
>    fill fullsquare rotated 45 scaled 4cm withcolor red ;
>
>    fill fullcircle scaled 4cm -- reverse fullcircle scaled 3cm -- cycle ;
>
> \stopMPpage
>
> \stoptext
>
> (side effect: a reverse path does an unfill in ps/pdf) (I'll add this
trick
> to the metafun manual)
>
> Hans
> -------------------------------------------------------------------------
>                                    Hans Hagen | PRAGMA ADE | pragma@wxs.nl
>                        Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
> -------------------------------------------------------------------------
>                         information: http://www.pragma-ade.com/roadmap.pdf
>                      documentation: http://www.pragma-ade.com/showcase.pdf
> -------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

      parent reply	other threads:[~2003-04-16 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16  7:18 meta post problem Severin Obertuefer
2003-04-16 10:10 ` Hans Hagen
2003-04-16 11:19   ` Severin Obertuefer
2003-04-16 11:46     ` meta post problem / solution Hans Hagen
2003-04-16 12:13       ` Patrick Gundlach
2003-04-16 15:58         ` Hans Hagen
2003-04-16 13:25       ` Severin Obertuefer [this message]

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='003801c3041b$a29a86d0$e4a2e6c2@ash' \
    --to=severin_obertuefer@gmx.ch \
    --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).