From: mf <massifr@fastwebnet.it>
To: ntg-context@ntg.nl
Subject: Re: metafun / patterns
Date: Thu, 25 Mar 2021 15:14:38 +0100 [thread overview]
Message-ID: <952da4e5-f1a9-9ec0-d390-aad5fbf2ba55@fastwebnet.it> (raw)
In-Reply-To: <1af7d295-306c-ea6d-b6e8-7e047584dbca@xs4all.nl>
Il 25/03/21 14:11, Hans Hagen ha scritto:
>
> \startMPpage[offset=1cm]
> draw (fullcircle scaled 5cm shifted (0cm,0cm))
> withpattern image (fill fullcircle scaled 1cm withcolor
> "darkblue" ;)
> withpatternscale (1/10,1/10)
> ;
>
> draw (fullcircle scaled 5cm shifted (5cm,0cm))
> withpattern image (fill fullcircle scaled 5mm withcolor
> "darkred" ;)
> withpatternscale (1/20,1/20)
> ;
>
> draw (fullcircle scaled 5cm shifted (10cm,0cm))
> withpattern image (fill fullcircle scaled 5mm withcolor
> "darkgreen" ;)
> withpatternscale (1/40,1/40)
> ;
>
> draw (fullcircle scaled 5cm shifted (0cm,5cm))
> withpattern image (fill fullcircle scaled 1cm withcolor
> "darkcyan" ;)
> withpatternscale (1/10,1/20)
> ;
>
> draw (fullcircle scaled 5cm shifted (5cm,5cm))
> withpattern image (fill fullcircle scaled 5mm withcolor
> "darkmagenta" ;)
> withpatternscale (1/20,1/40)
> ;
>
> draw (fullcircle scaled 5cm shifted (10cm,5cm))
> withpattern image (fill fullcircle scaled 5mm withcolor
> "darkyellow" ;)
> withpatternscale (1/40,1/80)
> ;
> \stopMPpage
>
> \startMPpage[offset=1cm]
> fill fullcircle scaled 11cm
> withcolor "darkyellow" ;
>
> draw fullcircle scaled 10cm
> withpattern image (fill fullcircle scaled 1cm withcolor
> "darkblue" ;)
> ;
>
> draw fulldiamond scaled 8cm
> withpattern image (fill fulldiamond scaled 4mm withcolor
> "darkgreen" ;)
> rotated 15
> ;
>
> draw fulltriangle scaled 9cm
> withpattern image (fill fulltriangle scaled 3mm withcolor
> "white" ;)
> rotated 45
> ;
>
> draw fullcircle scaled 10cm
> withpattern image (draw textext("!") withcolor "middlegray" ;)
> rotated 45
> ;
>
> draw fullcircle scaled 10cm
> withpen pencircle scaled 1mm
> withcolor "darkgray" ;
> \stopMPpage
>
Those first two pages appear 20x20mm and blank.
Page 3 and 4 show patterns instead.
Massi
___________________________________________________________________________________
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:[~2021-03-25 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 13:11 Hans Hagen
2021-03-25 14:14 ` mf [this message]
2021-03-25 14:20 ` mf
2021-03-25 16:55 ` Aditya Mahajan
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=952da4e5-f1a9-9ec0-d390-aad5fbf2ba55@fastwebnet.it \
--to=massifr@fastwebnet.it \
--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).