Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 6e70548b0612ecb55935ca2cc9d0f458 > files > 121

ruby-imlib2-0.5.2-3mdv2008.1.x86_64.rpm

<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Imlib2::ColorModifier</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Imlib2::ColorModifier</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/imlib2_c.html">
                imlib2.c
                </a>
        &nbsp;(<a href="http://cvs.pablotron.org/cgi-bin/viewcvs.cgi/imlib2-ruby/imlib2.c">CVS</a>)
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                Object
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000417">brightness=</a>&nbsp;&nbsp;
      <a href="#M000418">contrast=</a>&nbsp;&nbsp;
      <a href="#M000416">gamma=</a>&nbsp;&nbsp;
      <a href="#M000414">new</a>&nbsp;&nbsp;
      <a href="#M000415">new</a>&nbsp;&nbsp;
      <a href="#M000419">reset</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000414" class="method-detail">
        <a name="M000414"></a>

        <div class="method-heading">
          <a href="ColorModifier.src/M000414.html" target="Code" class="method-signature"
            onclick="popupCode('ColorModifier.src/M000414.html');return false;">
          <span class="method-name">new</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Returns a new <a href="ColorModifier.html">Imlib2::ColorModifier</a>
</p>
<p>
Example:
</p>
<pre>
  cmod = Imlib2::ColorModifier.new
</pre>
        </div>
      </div>

      <div id="method-M000415" class="method-detail">
        <a name="M000415"></a>

        <div class="method-heading">
          <a href="ColorModifier.src/M000415.html" target="Code" class="method-signature"
            onclick="popupCode('ColorModifier.src/M000415.html');return false;">
          <span class="method-name">new</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
<a href="ColorModifier.html">Imlib2::ColorModifier</a> constructor
</p>
<p>
This method takes no arguments.
</p>
        </div>
      </div>

      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000417" class="method-detail">
        <a name="M000417"></a>

        <div class="method-heading">
          <a href="ColorModifier.src/M000417.html" target="Code" class="method-signature"
            onclick="popupCode('ColorModifier.src/M000417.html');return false;">
          <span class="method-name">brightness=</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set the brightness value.
</p>
<p>
Example:
</p>
<pre>
  cmod.brightness = 2.0
</pre>
        </div>
      </div>

      <div id="method-M000418" class="method-detail">
        <a name="M000418"></a>

        <div class="method-heading">
          <a href="ColorModifier.src/M000418.html" target="Code" class="method-signature"
            onclick="popupCode('ColorModifier.src/M000418.html');return false;">
          <span class="method-name">contrast=</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set the contrast value.
</p>
<p>
Example:
</p>
<pre>
  cmod.contrast = 0.8
</pre>
        </div>
      </div>

      <div id="method-M000416" class="method-detail">
        <a name="M000416"></a>

        <div class="method-heading">
          <a href="ColorModifier.src/M000416.html" target="Code" class="method-signature"
            onclick="popupCode('ColorModifier.src/M000416.html');return false;">
          <span class="method-name">gamma=</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Set the gamma value.
</p>
<p>
Example:
</p>
<pre>
  cmod.gamma = 0.5
</pre>
        </div>
      </div>

      <div id="method-M000419" class="method-detail">
        <a name="M000419"></a>

        <div class="method-heading">
          <a href="ColorModifier.src/M000419.html" target="Code" class="method-signature"
            onclick="popupCode('ColorModifier.src/M000419.html');return false;">
          <span class="method-name">reset</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Reset the <a href="ColorModifier.html">Imlib2::ColorModifier</a>
</p>
<p>
Example:
</p>
<pre>
  cmod.reset
</pre>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>