<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">To use #/elementAtIndex:associatedPoints: the Apple docs say<div class=""><section data-v-2258cf64="" data-v-188b2b97="" id="declaration" class="declaration"><div data-v-6f404937="" data-v-2258cf64="" class="declaration-group"><pre data-v-510ed242="" data-v-6f404937="" class="source"><code data-v-510ed242="" class="">- (<a data-v-2e3d09b1="" data-v-510ed242="" href="https://developer.apple.com/documentation/appkit/nsbezierpathelement" class="type-identifier-link"><code data-v-88c637be="" class=""><span data-v-2e3d09b1="" data-v-88c637be="" class="">NSBezier<wbr data-v-2e3d09b1="" data-v-88c637be="" class="">Path<wbr data-v-2e3d09b1="" data-v-88c637be="" class="">Element</span></code></a>)<span data-v-2e3d09b1="" data-v-510ed242="" class="token-identifier">elementAtIndex:</span>(<a data-v-2e3d09b1="" data-v-510ed242="" href="https://developer.apple.com/documentation/objectivec/nsinteger" class="type-identifier-link"><code data-v-88c637be="" class=""><span data-v-2e3d09b1="" data-v-88c637be="" class="">NSInteger</span></code></a>)<span data-v-2e3d09b1="" data-v-510ed242="" class="token-internalParam">index</span> <span data-v-2e3d09b1="" data-v-510ed242="" class="token-identifier">
                     associatedPoints:</span>(<a data-v-2e3d09b1="" data-v-510ed242="" href="https://developer.apple.com/documentation/foundation/nspointarray" class="type-identifier-link"><code data-v-88c637be="" class=""><span data-v-2e3d09b1="" data-v-88c637be="" class="">NSPoint<wbr data-v-2e3d09b1="" data-v-88c637be="" class="">Array</span></code></a>)<span data-v-2e3d09b1="" data-v-510ed242="" class="token-internalParam">points</span>;
</code></pre></div></section><section data-v-70d390c2="" data-v-188b2b97="" id="parameters" class="parameters"><h2 data-v-70d390c2="" class="">Parameters</h2><dl data-v-70d390c2="" class=""><dt data-v-70d390c2="" class="param-name"><code data-v-70d390c2="" class="">index</code></dt><dd data-v-70d390c2="" class="param-content"><div data-v-702ae484="" data-v-70d390c2="" class="content"><p class="">The index of the desired path element.</p></div></dd><dt data-v-70d390c2="" class="param-name"><code data-v-70d390c2="" class="">points</code></dt><dd data-v-70d390c2="" class="param-content"><div data-v-702ae484="" data-v-70d390c2="" class="content"><p class="">On input, a C-style array containing up to three <code data-v-88c637be="" class="">NSPoint</code> data types, or <code data-v-88c637be="" class="">NULL</code> if you do not want the points. On output, the data points associated with the specified path element.  </p></div></dd></dl></section><div class=""><br class=""></div><div><br class="">So I now understand that ccl’s make-heap-ivector lets me create an array, but I don’t understand how to pass it an appropriate element-type for accommodating NSPoints. Can anyone help please?</div><div>Arthur</div><div><br class=""></div></div></body></html>