From: Fabrice Couvreur <fabrice1.couvreur@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Left border of a rectangle (Metafun)
Date: Sun, 30 Aug 2015 09:50:54 +0200 [thread overview]
Message-ID: <CACyK-er9vnwH5w5MA-E9fGPh37vD0pvsXj8uEdtLxdMX_ZvqBA@mail.gmail.com> (raw)
In-Reply-To: <55E19907.1030708@wxs.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1878 bytes --]
Hi,
Hans Otared and thank you for your suggestions.
A question for Hans : why my code does not give the expected result ?
Fabrice
2015-08-29 13:35 GMT+02:00 Hans Hagen <pragma@wxs.nl>:
> On 8/29/2015 1:11 PM, Otared Kavian wrote:
>
>> Hi fabrice,
>>
>> I dont’t know whether this the best solution, but you can use the
>> following definition of the MPgraphic Funny:
>>
>> \startuseMPgraphic{Funny}
>> interim linecap := butt ;
>> path p ;
>> p := unitsquare xyscaled (OverlayWidth,OverlayHeight) ;
>> drawoptions (withpen pencircle scaled 6.5pt withcolor
>> \MPcolor{MyColorA}) ;
>> draw lrcorner p --urcorner p --ulcorner p withcolor white;
>> draw ulcorner p --llcorner p ;
>>
>> \stopuseMPgraphic
>>
>
> \startuseMPgraphic{Funny}
> interim linecap := butt ;
> draw leftboundary OverlayBox ;
> setbounds currentpicture to OverlayBox ;
> \stopuseMPgraphic
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | 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 /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3286 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2015-08-30 7:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-29 8:56 Fabrice Couvreur
2015-08-29 11:11 ` Otared Kavian
2015-08-29 11:35 ` Hans Hagen
2015-08-30 7:50 ` Fabrice Couvreur [this message]
2015-08-30 8:36 ` Otared Kavian
2015-08-29 11:18 ` Otared Kavian
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-er9vnwH5w5MA-E9fGPh37vD0pvsXj8uEdtLxdMX_ZvqBA@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).