From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Eofill extension (Metafun)
Date: Mon, 9 Dec 2019 15:21:19 +1300 [thread overview]
Message-ID: <aab65315-7c0e-3083-2568-f79ebceab001@gmail.com> (raw)
In-Reply-To: <CACyK-eqpAmSd1TSC4f2QAtk=oGROwjBQ5myQcR5RrE4qR0U2ag@mail.gmail.com>
On 12/9/19 10:02 AM, Fabrice Couvreur wrote:
> Hello,
> Is it possible to use the eofill extension in this code ? I tried without
> success. Thank you.
No, eofill is basically just a frontend for the PDF primitive eofill,
which works on a single connected path that intersects itself.
If that wasn't enough, the numberstriped instruction does not return a
path but a picture and pictures are immutable.
> Fabrice
>
> \starttext
> \startMPcode
> path carre, disque;
>
> carre = fullsquare scaled 200;
> disque = fullcircle scaled 200;
>
> draw carre numberstriped (.25,15,5) withcolor \MPcolor{magenta};
> fill disque withcolor white;
>
> draw carre withcolor \MPcolor{orange};
> draw disque withcolor \MPcolor{orange};
>
> path a[];
> a1 = origin -- point 3.5 of carre;
>
> interim ahangle := 30;
> drawdblarrow a1 withpen pencircle scaled 1.5pt withcolor darkred;
> label.top("$R$", point 1/2 of a1);
> \stopMPcode
> \stoptext
>
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2019-12-09 2:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-08 21:02 Fabrice Couvreur
2019-12-09 2:21 ` Henri Menke [this message]
2019-12-09 13:28 ` Fabrice Couvreur
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=aab65315-7c0e-3083-2568-f79ebceab001@gmail.com \
--to=henrimenke@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).