On Feb 10, 2012, at 1:51 PM, David Kastrup wrote: > David Kastrup <d...@gnu.org> writes: > >> David Kastrup <d...@gnu.org> writes: >> >>> Han-Wen Nienhuys <hanw...@gmail.com> writes: >>> >>>> Just a very quick look: I notice you're creating affine transform >>>> matrices in Scheme. IMO, this seems an excellent candidate to >>>> implement in C++ and expose through bindings, as the C++ matrices will >>>> be better packed in memory, and should probably only be manipulated by >>>> operations involving multiple floating point ops (add, multiply, etc.) >>> >>> Stupid question: wasn't Cairo a dependency of LilyPond? It should >>> offer affine transforms as a builtin entity anyway, and it is >>> conceivable that using those will play together smoothly with other >>> rendering operations. >> >> Cancel that: I was confusing this with Pango. > > Well, uncancel the idea in itself: seems like it applies to Pango as > well: >
I've implemented all of the affine transformations in stencil-integral.cc. They're pretty simple, but they work and are fast. Cheers, MS _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel