lilypond-devel
[Top][All Lists]
Advanced

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

Re: null markup


From: Mats Bengtsson
Subject: Re: null markup
Date: Thu, 01 Sep 2005 10:59:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

... hey, how does hspace #0 do anything?  if amount=0, then surely
\hspace shouldn't do anything?

  (if (> amount 0)
      (ly:make-stencil "" (cons 0 amount) '(-1 . 1))
      (ly:make-stencil "" (cons amount amount) '(-1 . 1))))

Hint: Translated to C, this means something like
if (amount > 0)
  return make-stencil(0, amount, -1, 1);
else
  return make-stencil(amount, amount, -1, 1);

   /Mats




reply via email to

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