Sha256: 55f2dd05c308b5c420e540c7558c676cfca5bd633f00b9df8af22e88e175a469

Contents?: true

Size: 1.15 KB

Versions: 10

Compression:

Stored size: 1.15 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>intensity (PNG::Color)</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 164</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">intensity</span>(<span class="ruby-identifier">i</span>)
      <span class="ruby-keyword kw">return</span> <span class="ruby-constant">Color</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">r</span>,<span class="ruby-identifier">b</span>,<span class="ruby-identifier">g</span>,(<span class="ruby-identifier">a</span><span class="ruby-operator">*</span><span class="ruby-identifier">i</span>) <span class="ruby-operator">&gt;&gt;</span> <span class="ruby-value">8</span>)
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ripxplore-0.4.0 doc/classes/PNG/Color.src/M000019.html
ripxplore-0.0.2 doc/classes/PNG/Color.src/M000195.html
ripxplore-0.0.1 doc/classes/PNG/Color.src/M000195.html
ripxplore-0.5.1 doc/classes/PNG/Color.src/M000019.html
ripxplore-0.5.0 doc/classes/PNG/Color.src/M000019.html
ripxplore-0.5.2 doc/classes/PNG/Color.src/M000019.html
ripxplore-0.7.0 doc/classes/PNG/Color.src/M000019.html
ripxplore-0.7.1 doc/classes/PNG/Color.src/M000020.html
ripxplore-0.7.2 doc/classes/PNG/Color.src/M000020.html
ripxplore-0.8.0 doc/classes/PNG/Color.src/M000020.html