lilypond-devel
[Top][All Lists]
Advanced

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

Getting the stem thickness in Scheme


From: Reinhold Kainhofer
Subject: Getting the stem thickness in Scheme
Date: Wed, 10 Sep 2008 13:43:27 +0200
User-agent: KMail/1.9.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To properly implement the straight flag style in scheme, I need the thickness 
of the stem in real coordinates. Is there any way to get this value in 
scheme, given the stem grob? The Stem C++ class has the method thickness (), 
which gives exactly the desired value, but I don't see a way to get it from 
scheme, other than adding a new scheme callback function stem_thickness 
(ly:stem::stem-thickness), which calls thickness(stem). Is this the right 
approach?

Thanks,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIx7LjTqjEwhXvPN0RAq0TAJsE0uPMZ04uo8s4Hl2MNmHDylT9tQCfcFlX
7cdpu45KcKsL25l8riaADdA=
=ZmFJ
-----END PGP SIGNATURE-----




reply via email to

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