<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on: MooCanvas Moved and Updated</title>
    <link>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comments</link>
    <description>Comments Feed</description>
    <language>en-us</language>
    <generator>Symphony 1701</generator>
    <item>
      <title>By: Alex Stapleton</title>
      <link>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comments</link>
      <pubDate>Tue, 29 Apr 2008 21:42:02 GMT</pubDate>
      <guid>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comment-1</guid>
      <description>CanvasGradient doesn’t currently deal with gradients that go right to left very well. It’s a 1 line fix to get it to handle them properly, although I imagine there is a better way of computing the angle value that would do it too.

var CanvasGradient = new Class({

    initialize: function(x0, y0, x1, y1, ctx){
            this.angle = ((y1 - y0) / ((x1 - x0).pow(2) + (y1 - y0).pow(2)).sqrt()).acos();
    if(x1 &lt; x0) this.angle = -this.angle;
            this.ctx = ctx;
},


…
</description>
    </item>
    <item>
      <title>By: Olmo</title>
      <link>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comments</link>
      <pubDate>Fri, 02 May 2008 17:45:27 GMT</pubDate>
      <guid>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comment-2</guid>
      <description>Thanks Alex. I’ll add this to the test suite.
</description>
    </item>
    <item>
      <title>By: Peter Velichkov</title>
      <link>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comments</link>
      <pubDate>Wed, 18 Jun 2008 10:21:58 GMT</pubDate>
      <guid>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comment-3</guid>
      <description>Is it planned to port/optimize for mootools 1.2
</description>
    </item>
    <item>
      <title>By: Olmo</title>
      <link>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comments</link>
      <pubDate>Wed, 18 Jun 2008 15:08:36 GMT</pubDate>
      <guid>http://ibolmo.com/entry/moocanvas-moved-and-updated/#comment-4</guid>
      <description>MooCanvas should be 1.2 compatible. Unless I’m mistaken.
</description>
    </item>
  </channel>
</rss>
