ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marc van Dongen <dongen@cs.ucc.ie>
Subject: mpost: cutbefore/cutafter
Date: Fri, 6 Oct 2000 12:12:04 +0100	[thread overview]
Message-ID: <20001006121204.A10194@cs.ucc.ie> (raw)

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]

Dear metapost gurus,

There is something I don't understand about
cutbefore and cutafter. Maybe what I need is
in the metafont book which I don't have yet.

Anyway, here it goes.

Is there any way to tell mpost to cut a curve
exactly at the bpath of a boxed thingy? At the
moment I am facing the problem that for example
a cutafter of an arc goes slightly beyond (what
seems to be) the inner boundary of the bpath of
a circle.

I have attached a picture which demonstrates the
effect. In this picture the phenomenon manifests
itself with the first three circles at the bottom.
The arcs were drawn with a command that drew them
from the centres of the circles cutbefore and
cutafter the bpaths of the circles.

Ideally I would like to have control where to cut
the arcs. For example, it would be very nice if
it were possible to cut exactly at the outside of
where a circle is draw or to cut it exactly at
the inside of where a circle is drawn. Is there
any way to do this?

Any pointers/help would be greatly appreciated.

Regards,

Marc van Dongen
-- 
     Marc van Dongen, CS Dept | phone:  +353 21 4903578
University College Cork, NUIC | Fax:    +353 21 4903113
  College Road, Cork, Ireland | Email: dongen@cs.ucc.ie

[-- Attachment #2: example33.pdf --]
[-- Type: application/pdf, Size: 2786 bytes --]

             reply	other threads:[~2000-10-06 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-06 11:12 Marc van Dongen [this message]
2000-10-07 21:26 ` Hans Hagen
2000-10-09 18:51   ` Berend de Boer
2000-10-09 19:34     ` metafun talk in ntg-context list (was Re: mpost: cutbefore/cutafter) Ed L Cashin
2000-10-09 19:55       ` metafun talk in ntg-context list (was Re: mpost:cutbefore/cutafter) Hans Fredrik Nordhaug
2000-10-09 20:07         ` metafun talk in ntg-context list (was Re: mpost: cutbefore/cutafter) Ed L Cashin

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=20001006121204.A10194@cs.ucc.ie \
    --to=dongen@cs.ucc.ie \
    /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).