Am Dienstag, 20. Juli 2010, 14:06:25 schrieb [email protected]: > Ok I tried it in an easy example (just one note) > but I don't understant the functions > combine-stencil and translate-stencil > what are their arguments (i don't know scheme programming yet) > I have just found some lines in scm/stencil.scm [...] > are the argument of translate-stencil in pixel, if it is the case then why > are there some float numbers?
No, LilyPond is not based on pixels at all. The default output formats (PDF, PS, EPS) are all vector graphic formats. The PNG/JPG output simply converts the resulting vector graphic to a pixel graphic. Unfortunately, this means that it is basically impossible to detect exactly where a note is printed in the pixel graphic. I suppose it would be much easier to modify the .ly files and re-create the graphics... Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
