From: Keith McKay <mckaymeister@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: A dumb question about MetaFun
Date: Sun, 16 Aug 2020 20:09:53 +0100 [thread overview]
Message-ID: <b7e24dbe-f4c6-30cb-92bf-08aab13f6960@gmail.com> (raw)
In-Reply-To: <CAKyqqaaQ1c1gvk8n5h=5uQqAdZ0nfYiPTaGd-+4j7hUUGSB-FQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1337 bytes --]
Jairo
Try
draw unitsquare scaled 1cm shifted (xcm, ycm);
Page 11 of the manual metafun-p.pdf is your friend here. My recent
conversation with Taco on this list will be usefull as well.
Best Wishes
Keith
On 16/08/2020 18:06, Jairo A. del Rio wrote:
> Hi list! A simple question: is there an equivalent of thetextext for a
> normal picture (an "image(draw ... ;)")? I want to move the center of
> a picture to an specific point, like this:
>
> \startMPpage
>
> draw thetextext("\tttf hello", origin) ;
> draw unitsquare scaled 1cm;
>
> \stopMPpage
>
> The "hello" is centered at the origin. I want to achieve the same
> result for pictures. I've seen such a command some time ago, but I've
> forgotten and I cannot find it again in documentation. Thanks and
> sorry for any inconvenience.
>
> Regards,
>
> Jairo :)
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2655 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-08-16 19:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 17:06 Jairo A. del Rio
2020-08-16 19:09 ` Keith McKay [this message]
2020-08-16 20:36 ` Taco Hoekwater
2020-08-16 21:31 ` Jairo A. del Rio
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=b7e24dbe-f4c6-30cb-92bf-08aab13f6960@gmail.com \
--to=mckaymeister@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).