* drawarrowpath
@ 2007-06-05 1:34 David Arnold
0 siblings, 0 replies; only message in thread
From: David Arnold @ 2007-06-05 1:34 UTC (permalink / raw)
To: Context Mailing List List
All,
Doesn't look like drawarrowpath accepts options, as advertised in the
metafun manual. Comments?
\setuppapersize[S6][S6]
\usetypescriptonce [map] [times,helvetica,palatino] [texnansi]
\usetypescriptonce [serif] [times] [name,texnansi]
\usetypescriptonce [sans] [helvetica] [name,texnansi]
\usetypescriptonce [palatino] [texnansi]
\setupbodyfont [palatino,10pt]
\startbuffer[mpenv]
\startMPenvironment
\usetypescriptonce[map][times,helvetica,palatino][texnansi]
\usetypescriptonce[serif][times][name,texnansi]
\usetypescriptonce[sans][helvetica][name,texnansi]
\usetypescriptonce[palatino][texnansi]
\setupbodyfont[palatino,10pt]
\definefont[RotFont][RegularBold]
\stopMPenvironment
\stopbuffer
\definefont[RotFont][RegularBold]
\getbuffer[mpenv]
\setupcolors[state=start]
\starttext
\startlinecorrection[blank]
\startMPcode
visualizepaths ;
path p ; p := (0cm,1cm)..(2cm,2cm)..(4cm,0cm)..(2cm,1cm)..cycle ;
drawarrowpath p withcolor .625red ;
draw p shifted (7cm,0) dashed withdots withcolor .625yellow ;
\stopMPcode
\stoplinecorrection
\stoptext
On the other hand, drawpath does seem to accept options.
\startlinecorrection[blank]
\startMPcode
visualizepaths ;
path p ; p := (0cm,1cm)..(2cm,2cm)..(4cm,0cm)..(2cm,1cm)..cycle ;
drawpath p withcolor .625blue withpen pencircle scaled 2pt ;
draw p shifted (7cm,0) dashed withdots withcolor .625yellow ;
\stopMPcode
\stoplinecorrection
___________________________________________________________________________________
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-05 1:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 1:34 drawarrowpath David Arnold
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).