* [NTG-context] Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].
@ 2024-08-28 8:05 ai2472206007
2024-08-28 9:01 ` [NTG-context] " Hans Hagen via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: ai2472206007 @ 2024-08-28 8:05 UTC (permalink / raw)
To: ntg-context
hi ,
Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].
what I envisaged:
https://imgse.com/i/pAAkfjf
I've found someone who has asked a similar question,
just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question.
question from
https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/D5GBGF3RXN75UGZVHX6LDY7LXGGZKMHR/#7JS33W44JDJM355TDDPY5L4R7FJQ6QLZ
However, this example didn't work successfully on the Mac,
it just showed a background color block.
Best Wishes
Muyik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* [NTG-context] Re: Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].
2024-08-28 8:05 [NTG-context] Is there a way to apply withpattern to text, like fillcolor in lmt_outline[] ai2472206007
@ 2024-08-28 9:01 ` Hans Hagen via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2024-08-28 9:01 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
On 8/28/2024 10:05 AM, ai2472206007@yeah.net wrote:
> hi ,
> Is there a way to apply withpattern to text, like fillcolor in lmt_outline[].
>
> what I envisaged:
> https://imgse.com/i/pAAkfjf
>
> I've found someone who has asked a similar question,
> just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question.
>
> question from
> https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/D5GBGF3RXN75UGZVHX6LDY7LXGGZKMHR/#7JS33W44JDJM355TDDPY5L4R7FJQ6QLZ
>
> However, this example didn't work successfully on the Mac,
> it just showed a background color block.
\starttext
\startMPpage
path tt ; tt := lmt_outline [
kind = "outline",
text = "\definedfont[name:texgyrepagellabold*default]foo f o o",
] xsized 12cm ;
% fill tt
% withshademethod "linear"
% withshadedirection down
% withshadecolors (red, blue) ;
draw tt
withpattern image (fill fullcircle scaled 5mm withcolor
"darkgreen" ;)
withpatternscale (1/200,1/40) ;
\stopMPpage
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-28 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-28 8:05 [NTG-context] Is there a way to apply withpattern to text, like fillcolor in lmt_outline[] ai2472206007
2024-08-28 9:01 ` [NTG-context] " Hans Hagen via ntg-context
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).