<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rotating BitmapData with Actionscript 3</title>
	<atom:link href="http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 13:08:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Eric</title>
		<link>http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm/comment-page-1#comment-7800</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sun, 31 Jul 2011 15:25:21 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>gray_hare - Actually he is rotating the bitmapdata when he&#039;s drawing it into the new bitmap, and the new bitmap has a &quot;new Matrix&quot; which is a non rotated matrix.

Also there is a better way to do this.

Use this for 90 degree rotation:
var matrix = new Matrix(0, -1, 1, 0, 0, bmd.height / 2);

Use this for 180 degree rotation:
var matrix = new Matrix(0, -1, -1, 0, bmd.width / 2, bmd.height / 2);

Use this for 270 degree rotation:
var matrix = new Matrix(0, 1, -1, 0, bmd.width / 2, 0);

This is a lot faster and accurate.</description>
		<content:encoded><![CDATA[<p>gray_hare &#8211; Actually he is rotating the bitmapdata when he&#8217;s drawing it into the new bitmap, and the new bitmap has a &#8220;new Matrix&#8221; which is a non rotated matrix.</p>
<p>Also there is a better way to do this.</p>
<p>Use this for 90 degree rotation:<br />
var matrix = new Matrix(0, -1, 1, 0, 0, bmd.height / 2);</p>
<p>Use this for 180 degree rotation:<br />
var matrix = new Matrix(0, -1, -1, 0, bmd.width / 2, bmd.height / 2);</p>
<p>Use this for 270 degree rotation:<br />
var matrix = new Matrix(0, 1, -1, 0, bmd.width / 2, 0);</p>
<p>This is a lot faster and accurate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karl</title>
		<link>http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm/comment-page-1#comment-7603</link>
		<dc:creator>karl</dc:creator>
		<pubDate>Mon, 09 May 2011 08:14:16 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>thnx, you helped me out here..</description>
		<content:encoded><![CDATA[<p>thnx, you helped me out here..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm/comment-page-1#comment-7415</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 24 Feb 2011 00:13:06 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>&lt;b&gt;gray_hare&lt;/b&gt; - Isn&#039;t the end result the same though? It&#039;s not like this is a filter that&#039;s being applied, we input one bitmapdata object, and get another, rotated version of the bitmapdata.</description>
		<content:encoded><![CDATA[<p><b>gray_hare</b> &#8211; Isn&#8217;t the end result the same though? It&#8217;s not like this is a filter that&#8217;s being applied, we input one bitmapdata object, and get another, rotated version of the bitmapdata.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gray_hare</title>
		<link>http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm/comment-page-1#comment-7414</link>
		<dc:creator>gray_hare</dc:creator>
		<pubDate>Wed, 23 Feb 2011 20:13:22 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>You&#039;re not actually rotating BitmapData here as the tittle suggests. You&#039;re just telling BitmapData object how pixels have to be drawn and this is not the same.</description>
		<content:encoded><![CDATA[<p>You&#8217;re not actually rotating BitmapData here as the tittle suggests. You&#8217;re just telling BitmapData object how pixels have to be drawn and this is not the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teo</title>
		<link>http://www.psyked.co.uk/actionscript/rotating-bitmapdata.htm/comment-page-1#comment-7357</link>
		<dc:creator>Teo</dc:creator>
		<pubDate>Sun, 26 Dec 2010 22:20:21 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>+1))</description>
		<content:encoded><![CDATA[<p>+1))</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 2/16 queries in 0.006 seconds using disk: basic
Object Caching 621/627 objects using disk: basic

Served from: www.psyked.co.uk @ 2012-02-10 08:44:04 -->
