doc/classes/PNG/Canvas.src/M000445.html in ripxplore-0.15.1 vs doc/classes/PNG/Canvas.src/M000445.html in ripxplore-0.16.1

- old
+ new

@@ -3,18 +3,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>[]= (PNG::Canvas)</title> + <title>point (PNG::Canvas)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> - <pre><span class="ruby-comment cmt"># File lib/PatchedPNG.rb, line 212</span> - <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]=</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>, <span class="ruby-identifier">color</span>) - <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;bad x value #{x} &gt;= #{@height}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">x</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@height</span> - <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;bad y value #{y} &gt;= #{@width}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">y</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-ivar">@width</span> - <span class="ruby-ivar">@data</span>[<span class="ruby-identifier">y</span>][<span class="ruby-identifier">x</span>] = <span class="ruby-identifier">color</span> + <pre><span class="ruby-comment cmt"># File lib/PatchedPNG.rb, line 232</span> + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">point</span>(<span class="ruby-identifier">x</span>, <span class="ruby-identifier">y</span>, <span class="ruby-identifier">color</span>) + <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">x</span>,<span class="ruby-identifier">y</span>] = <span class="ruby-keyword kw">self</span>[<span class="ruby-identifier">x</span>,<span class="ruby-identifier">y</span>].<span class="ruby-identifier">blend</span>(<span class="ruby-identifier">color</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file