ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Severin Obertuefer" <severin_obertuefer@gmx.ch>
Subject: Re: Re: clipping a MetaPost graphic
Date: Sun, 13 Apr 2003 18:48:56 +0200	[thread overview]
Message-ID: <002801c301dc$9a0f9050$7cc6e6c2@ash> (raw)
In-Reply-To: <87fzomz9iz.fsf@gundla.ch>

Hi Patrick

thx for help, but something with your solutin is wrong.
the clipped picture is to small after clipping.
But I found out something that does the thing I wantet, it looks like this:

path c; c:= unitsquare xyscaled (86mm,54mm) ;

clip currentpicture to c shifted (center currentpicture-center c);



thanks anyway :), greez severin



----- Original Message ----- 
From: "Patrick Gundlach" <pg@levana.de>
To: <ntg-context@ntg.nl>
Sent: Sunday, April 13, 2003 5:45 PM
Subject: [NTG-context] Re: clipping a MetaPost graphic


> Hello Severin,
> 
> I don't know if my solution is clever or even working for you, but
> since I did not find any answer, this hack might be better then
> nothing:
> 
> path clippath;
> clippath:= unitsquare xyscaled (8cm,8cm) ; % your size here
> clip currentpicture to clippath shifted - .5urcorner(clippath);
> 
> I hope that the MP-experts shout out loud and show (me) a nicer
> solution.
> 
> Patrick
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

  reply	other threads:[~2003-04-13 16:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-12 17:48 Severin Obertuefer
2003-04-13 15:45 ` Patrick Gundlach
2003-04-13 16:48   ` Severin Obertuefer [this message]
2003-04-13 18:52 ` Hans Hagen

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='002801c301dc$9a0f9050$7cc6e6c2@ash' \
    --to=severin_obertuefer@gmx.ch \
    --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).