<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Explain the arguments....</title>
		<link>http://www.allegro.cc/forums/view/613129</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 17 Aug 2013 10:04:18 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>(Attached image to visualise request!)</p><p><span class="remote-thumbnail"><span class="json">{"name":"607908","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/2\/b2bf88bf226b95847801c57d19e36996.jpg","w":449,"h":552,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/2\/b2bf88bf226b95847801c57d19e36996"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/b/2/b2bf88bf226b95847801c57d19e36996-240.jpg" alt="607908" width="240" height="295" /></span></p><p>Hello guys, as part of something I&#39;m working on I need to draw an object that can be thought of as a black pole that tapers from a fat bottom to a point at the far end; The base will be fixed but the pointed end will come under the stress of various forces and will move. I don&#39;t need help with the math for calculating the points, (starting at bottom left and moving up, then down to bottom right), but I&#39;m struggling to understand the <span class="source-code"><a href="http://www.allegro.cc/manual/al_calculate_spline"><span class="a">al_calculate_spline</span></a></span> function in the html docs....</p><p>If someone could explain, given the 8 coordinates, how to determine <b>stride</b>, and also if my &#39;bottom left&#39;, to &#39;top&#39;, to &#39;bottom right&#39; method is correct, I would be very grateful (I&#39;m sure &#39;stride&#39; relates to something completely different to what I am thinking!!)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dizzy Egg)</author>
		<pubDate>Sat, 17 Aug 2013 04:38:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There are some examples here:</p><p><a href="https://www.allegro.cc/forums/thread/610638">https://www.allegro.cc/forums/thread/610638</a></p><p>Basicaly, stride will be calculated with sizeof. If you have, say, a struct MyPoint { float x, y }; then you&#39;ll need to use sizeof(struct Mypoint); if you want the function to store the result into an array allocated with calloc or new of those structs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Sat, 17 Aug 2013 10:04:18 +0000</pubDate>
	</item>
</rss>
