[JW Lua] Maximum rectangle for all visible elements of a page

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Wed Nov 12 09:03:20 CET 2014


Jan,

Unfortunatelly, no such feature exists. Getting the true rectangle of 
any kind of object is currently difficult. MM has it in their request 
database.


Best regards,

Jari Williamsson


On 2014-11-10 16:13, Jan Angermüller wrote:
> Jari,
>
> does a function exist to calculate the maximum rectangle
> for a page that includes all visible elements (including
> page text, lyrics, measure numbering, staves, staff/group names,
> notes, dynamics, articulation, smart shapes and graphics) ?
>
> With that information it would be possible to calculate
> the distance from the top, bottom, left, right margin
> to the very first element and for example
> improve scaling or measure and staff distribution etc.
>
> Best regards,
> Jan
>






More information about the JWLua mailing list