(if (and (= 0.0 x)
(= 0.0 y))
(format #f " /~a glyphshow\n" g)
- (format #f " ~a ~a rmoveto /~a glyphshow\n"
- x y g))))
+ (format #f " ~a ~a rmoveto ~a~a glyphshow\n"
+ x y
+ (if (string? g) "/" "")
+ g))))
x-y-named-glyphs))))
(define (grob-cause offset grob)
(string-append
(ly:number->string x) " " (ly:number->string y) " { " s " } place-box\n"))
-(define (polygon points blotdiameter)
+(define (polygon points blotdiameter filled?)
(string-append
(ly:numbers->string points) " "
(ly:number->string (/ (length points) 2)) " "
(ly:number->string blotdiameter)
+ (if filled? " true " " false ")
" draw_polygon"))
(define (repeat-slash wid slope thick)