Werner LEMBERG <w...@gnu.org> writes: >> I'd argue for creating functions sind, cosd, angle in analogy to >> METAFONT's functions. And we'd use them exclusively so it might >> make some sense to define C++ versions of them and export them in >> order to get consistent results. > > Maybe there's a library out there which we could use, probably even > GNU stuff?
I'd be surprised as that is rather basic stuff. Wait. pango_matrix_rotate () void pango_matrix_rotate (PangoMatrix *matrix, double degrees); Changes the transformation represented by matrix to be the transformation given by first rotating by degrees degrees counter-clockwise then applying the original transformation. We are linking Pango anyway. Maybe we should convert all our stencil stuff into native Pango? The unwholesome mess we pass around for path expressions and convert back and forth is not particularly efficient. And being all-Pango would make it easier to create more backends. Even if Pango's own PDF backend is not good enough (for dealing with metadata, tables of content and similar stuff), the intermediate representations should still be a good common denominator. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel