From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Eofill extension (Metafun)
Date: Mon, 9 Dec 2019 14:28:06 +0100 [thread overview]
Message-ID: <CACyK-eruD7aFhZi6ZYQcFtJ0GCnpL-NSCrAhmbDGvZ7DMALvVA@mail.gmail.com> (raw)
In-Reply-To: <aab65315-7c0e-3083-2568-f79ebceab001@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2304 bytes --]
Hello,
Thank you for these explanations.
Fabrice
Le lun. 9 déc. 2019 à 03:21, Henri Menke <henrimenke@gmail.com> a écrit :
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 4576 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2019-12-09 13:28 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
2019-12-09 13:28 ` Fabrice Couvreur [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=CACyK-eruD7aFhZi6ZYQcFtJ0GCnpL-NSCrAhmbDGvZ7DMALvVA@mail.gmail.com \
--to=fabrice1.couvreur@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).