lenmus / lomse

A C++ library for rendering, editing and playing back music scores.
MIT License
120 stars 28 forks source link

Group SVG elements and add “id”, “class” and formatting options #345

Closed cecilios closed 2 years ago

cecilios commented 2 years ago

This PR does the following changes:

For instance, now it is possible to generate something as:

<g id='m83' class='note'>
    <path class='ledger-line' ... />
    <text class='notehead' ... >...</text>
    <path class='stem' ... />
</g>

For detailed information, see the new added file docs/api/mainpages/render-svg.h in this PR. This file contains the documentation for updating the public API documentation when this PR is merged.

Other non-related changes