Hello,
As part of my project, I'm trying to add annotations for range selections,
and these can possible span multiple staves. For this reason, I need to
obtain the correct position values, which includes the y value of the top
and bottom staff of the selection. I have been trying to use
system->staff(staffIdX)->y() for the same and after much trying, I realized
that this won't work because this needs the staff distances to be computed,
which currently happens *after* the spanners are laid out. I currently
found a workaround by laying out the range annotation spanners *after* the
staff distances are computed, and the approach I mentioned above works fine
on doing this. However, I wonder if there's another way to get the correct
bbox values for the staff being considered. Please let me know if you have
any inputs.

Thanks in advance
-- 
Ruchit Agrawal.
IIIT Hyderabad.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to