From: Marc van Dongen <dongen@cs.ucc.ie>
Subject: Re tree ``package''
Date: Thu, 31 May 2001 13:05:24 +0100 [thread overview]
Message-ID: <20010531130524.Q23245@cs.ucc.ie> (raw)
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
Sorry if you receive this twice. I think
I forgot the group reply.
Taco Hoekwater (taco@elvenkind.com) wrote:
: We are missing marctool.mp :-)
Point well taken. It's attached.
Regards,
Marc
[-- Attachment #2: marctool.mp --]
[-- Type: text/plain, Size: 669 bytes --]
%
% Labels point i of mypath with (start+i).
%
def test( expr mypath, start ) =
draw mypath
withcolor red;
for i = 0 upto length mypath:
dotlabel ( decimal( i + start ),point i of mypath );
endfor;
enddef;
%
% Circles pic with a circle scaled s.
%
def scaledcircleit( expr pic, s ) =
(unitcircle shifted (-0.5,-0.5) scaled s
shifted 0.5[ llcorner( pic ), urcorner( pic )])
enddef;
def widthofbox( expr b ) =
(xpart( lrcorner( b ) ) - xpart( llcorner( b ) ))
enddef;
def heightofbox( expr b ) =
(ypart( ulcorner( b ) ) - ypart( llcorner( b ) ))
enddef;
def centreofbox( expr b ) =
(0.5[ ulcorner( b ), lrcorner( b ) ])
enddef;
reply other threads:[~2001-05-31 12:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010531130524.Q23245@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).