2015-10-07 14:08 GMT+02:00 Thomas Morley <thomasmorle...@gmail.com>: > The code in my initial mail uses coord-rotate (not > ly:stencil-rotate-absolute as in Jans suggestion) > What do you think about this method? > > Ofcourse it was heavily simplified, maybe best to put up a patch to > have the full code for more detailed discussion.
I have to postpone uploading the patch, there are some glitches ... And one thing which has driven me crazy, before I found the culprit: `coord-rotate' has a problem which can be demonstrated with: (display (coord-rotate '(10 . 0) (/ PI 2))) Expected: (0 . 10) Actually: (6.12323399573677e-16 . 10.0) What's the best method to get the zero? Using simple `round' will not work, because I don't want to get integers for other fractions of PI. And I don't know how to identify such a value. Simply ignoring looks not like an option, I had examples where rounding errors cumulated up to visible changes in the final pdf. Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user