<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
CalcMetricPos() is the method which exists for both FCArticulation
and FCExpression.<br>
In FCSmartShape it's similar: CalcLeft/RightCellMetricPos for
measure-attached, CalcLeft/RightEntryMetricPos for note-attached
smart shapes.<br>
<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Am 25.01.2018 um 20:53 schrieb M. R.
Miller:<br>
</div>
<blockquote type="cite"
cite="mid:BY2PR19MB0488C8ECFBA72DFD7D32C4E1ADE10@BY2PR19MB0488.namprd19.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgba(0,
0, 0, 0);">
<div>Hey all,</div>
<div><br>
</div>
<div>Is there a good way to get an articulation's position
relative to the page? I see FCArticulation::GetVerticalPos but
this appears to be an offset relative to different anchors
based on the articulation definition's AutoPosSide.</div>
<div><br>
</div>
<div>Same question for FCExpression which has a different
alignment scheme but similarly only gives offsets. And I can't
seem to find any positioning info about smart shapes.</div>
<div><br>
</div>
<div>For context, I'm writing a Lua script to draw a bounding
box that encompasses all the elements in a region. I've got it
working with notes and rests using FCEntryMetrics and
FCCellMetrics but can't seem to find a convenient way to get
the articulation and expression placement in the same
page-relative coordinates.</div>
<div><br>
</div>
<div>Any suggestions?</div>
<div><br>
</div>
<div>Thanks!</div>
<div>- Mike</div>
<div><br>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
</body>
</html>