[plt-scheme] Bug in color-round-frame?
From: Paulo Jorge de Oliveira Cantante de Matos (pocm at netvisao.pt)
Date: Thu Jun 10 08:26:06 EDT 2004 |
|
Oh, ok... Thanks!
So, I think there my be a doc bug. In help desk:
;; Rounded frames
> round-frame ; pict -> pict
> color-round-frame ; pict color-string -> pict
; pict color-string line-w -> pict
Was it copy&paste? ;)
Cheers,
Paulo Matos
On Thu, 2004-06-10 at 14:13, Matthew Flatt wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> At Thu, 10 Jun 2004 13:00:34 +0100, Paulo Jorge de Oliveira Cantante de Matos wrote:
> > this is great, however, changing color-frame to color-round-frame, i.e.,
> > evaluating this:
> > (color-round-frame
> > (vc-append
> > line-sep
> > (page-para*/c "Intelligent Theorem Proving")
> > (page-para*/c "for Specific Domains"))
> > "blue"
> > 2)
> >
> > results in:
> > find-color in color-database<%>: expects argument of type <string>;
> > given 2
>
> `color-round-frame' takes a number for the corner radius before the
> color string.
>
> (The `color-round-frame' function should check its arguments, but it
> doesn't currently.)
>
> Matthew
--
Paulo J. Matos : pocm [_at_] mega . ist . utl . pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
- > http://mega.ist.utl.pt/~pocm
---
-> God had a deadline...
So, he wrote it all in Lisp!