X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Foutput-ps.scm;h=3766fa6a4ea5f2b1790fff9b5b784894b7bc1332;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=aef4802eb71d8b6e41391055a10640dcdf17fe48;hpb=fa4cd867ea93884cc094814dda7c04b94e71ccf4;p=lilypond.git diff --git a/scm/output-ps.scm b/scm/output-ps.scm index aef4802eb7..3766fa6a4e 100644 --- a/scm/output-ps.scm +++ b/scm/output-ps.scm @@ -2,7 +2,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 1998--2007 Jan Nieuwenhuizen +;;;; (c) 1998--2008 Jan Nieuwenhuizen ;;;; Han-Wen Nienhuys ;;;; Note: currently misused as testbed for titles with markup, see @@ -30,6 +30,7 @@ embedded-ps named-glyph no-origin + oval placebox polygon repeat-slash @@ -198,6 +199,14 @@ (define (no-origin) "") +(define (oval x-radius y-radius thick fill) + (ly:format + "~a ~4f ~4f ~4f draw_oval" + (if fill + "true" + "false") + x-radius y-radius thick)) + (define (placebox x y s) (ly:format "~4f ~4f moveto @@ -235,7 +244,7 @@ (list r g b))) ;; restore color from stack -(define (resetcolor) "grestore \n") +(define (resetcolor) "grestore\n") ;; rotation around given point (define (setrotation ang x y)