<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Storing the clipping rectangle with al_store_state</title>
		<link>http://www.allegro.cc/forums/view/617808</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 13 Apr 2019 02:45:36 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi,<br />There is a way to store the clipping rectangle information with al_store_state?<br />Should this be a nice feature to introduce?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (neo_en2)</author>
		<pubDate>Fri, 12 Apr 2019 13:43:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you read <a href="https://liballeg.org/a5docs/trunk/state.html">al_store_state</a>, you can see that it does indeed store the clipping rectangle.</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/ALLEGRO_STATE"><span class="a">ALLEGRO_STATE</span></a> s<span class="k2">;</span>
<a href="http://www.allegro.cc/manual/al_store_state"><span class="a">al_store_state</span></a><span class="k2">(</span><span class="k3">&amp;</span>s, ALLEGRO_STATE_TARGET_BITMAP<span class="k2">)</span><span class="k2">;</span>
...
<a href="http://www.allegro.cc/manual/al_restore_state"><span class="a">al_restore_state</span></a><span class="k2">(</span><span class="k3">&amp;</span>s<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 13 Apr 2019 02:45:36 +0000</pubDate>
	</item>
</rss>
