[mcclim-devel] format-graph-from-roots

Paolo Amoroso amoroso at mclink.it
Fri Dec 24 17:15:32 UTC 2004


rpgoldman at real-time.com writes:

> I was just reading over the CLIM spec, and apropos of this function,
> it states that there should be a default to the ARC-DRAWER keyword
> argument.  
[...]
> But what's checked into the CVS now doesn't have that, causing crashes
> if it's omitted.  I think some simple default to DRAW-ARROW* should

Maybe something like this (untested):

  #'(lambda (stream from to from-x from-y to-x to-y)
      (declare (ignore from to))
      (draw-line* stream from-x from-y to-x to-y))

McCLIM's FORMAT-GRAPH-FROM-ROOTS, like the above function, currently
ignores :ARC-DRAWING-OPTIONS.


Paolo
-- 
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film



More information about the mcclim-devel mailing list