lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheme interface for making bezier-sandwich stencils


From: Jan Nieuwenhuizen
Subject: Re: Scheme interface for making bezier-sandwich stencils
Date: Thu, 06 May 2004 19:22:18 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Carl D. Sorensen writes:

> I'm trying to get a bezier-sandwich out from scheme as part of my
> chord-diagram markup.

Two beziers, with rounded corners and filled area, is that really what
you need?

>           '(bezier-sandwich ((6 . 0) (0 . 0) (1.5 . 0.9) (4.5 . 0.9) (6
> . 0) (0 . 0) (1.5 . 1.1) (4.5 . 1.1)) 0.1)

          '(bezier-sandwich '((6 . 0) (0 . 0) (1.5 . 0.9) (4.5 . 0.9) (6
. 0) (0 . 0) (1.5 . 1.1) (4.5 . 1.1)) 0.1)

>           (cons 0 6)

Btw, this is just '(0 . 7)

> /home/Carl/lilypond_files/bezier-sandwich.ly:7:30: Wrong type to apply:
> (6 . 0)

> Can anybody help me find out what's wrong?

The `function' (6 . 0) is applied; because it's the first of a list.

Jan.

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]