[JW Lua] FCTextRepeat.HorizontalPos scaling
Jan Angermüller
jan at angermueller.com
Sat Mar 26 16:05:49 CET 2016
Jari,
the documentation to FCTextRepeat.HorizontalPos only says:
"Returns the horizontal position (in *EVPU*s) from the measure's origin."
Maybe it would be more clear if you could mention that it is a scaled
value, depending on FCMeasure:GetWidth().
so if the measure width is 300, then 24 means the measure position 24 /
300 starting from position 0 (i.e. where the music starts minus "Spacing
Before Music").
Or in other words: a horizontalPos value of 24 means 24 *
MeasureScalingFactor.
Best,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160326/97bcf4e0/attachment.htm>
More information about the JWLua
mailing list