ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mp question
@ 2001-12-27 22:55 Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2001-12-27 22:55 UTC (permalink / raw)


Hi mp gurus,

i'm thinking about adding the next to metafun:

let  normalscaled =  scaled ;
let normalxscaled = xscaled ;
let normalyscaled = yscaled ;

def  scaled expr s =  normalscaled (s) enddef ;
def xscaled expr s = normalxscaled (s) enddef ;
def yscaled expr s = normalyscaled (s) enddef ;

this can handle both

draw fullcircle scaled 10 ;
draw fullcircle scaled 10*5 ;

how dangerous is such a redefinition? Why is scaled so fragile anyway?

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-27 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-27 22:55 mp question Hans Hagen

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).