lilypond-user
[Top][All Lists]
Advanced

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

Re: embedded-ps stencil confusion


From: Mark Polesky
Subject: Re: embedded-ps stencil confusion
Date: Fri, 3 Oct 2008 21:44:15 -0700 (PDT)

Ha! I figured it out...
- Mark

---------------------------------------

\version "2.11.61-1"

squareNoteHeads = {
  \override Voice.NoteHead #'stencil =
  #(ly:make-stencil
  (list 'embedded-ps
"gsave
currentpoint translate
BeginEPSF
%%BeginDocument:

newpath
-0.5 -0.5 moveto
-0.5  0.5 lineto
 0.5  0.5 lineto
 0.5 -0.5 lineto
closepath
fill
stroke

%%EndDocument
EndEPSF
grestore")
  (cons -0.5 0.5)
  (cons -0.5 0.5))
}

{ \squareNoteHeads c'' }



      




reply via email to

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