Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 2567

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!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" lang="en_US" xml:lang="en_US">

<head>
  <title>kdefx: KImageEffect Class Reference (kdefx)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">kdefx</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">KImageEffect Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KImageEffect" -->
<p>This class includes various <a class="elRef" href="qimage.html">QImage</a> based graphical effects.  
 <a href="classKImageEffect.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>&gt;</code></p>

<p><a href="classKImageEffect-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a> { <br/>
&#160;&#160;<b>VerticalGradient</b>, 
<b>HorizontalGradient</b>, 
<b>DiagonalGradient</b>, 
<b>CrossDiagonalGradient</b>, 
<br/>
&#160;&#160;<b>PyramidGradient</b>, 
<b>RectangleGradient</b>, 
<b>PipeCrossGradient</b>, 
<b>EllipticGradient</b>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a> { <br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8deaa8428ae9bb4f10835798177d7ae8ff2c1">Red</a>, 
<a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8deaa5d121e962178e026143bde406e3718c4">Green</a>, 
<a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8deaa897b41db8f45ae9e097e15d72c599444">Blue</a>, 
<a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8deaa24f5a040f37789b1c63922b00eff1f8f">Gray</a>, 
<br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8deaa3116c89c1cef765f12cb6ea79c99eb7f">All</a>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006df">Lighting</a> { <br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa0834e3b576490f7e3a254904cf879f05">NorthLite</a>, 
<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa190e99095e856aad1642f7679e6d02e2">NWLite</a>, 
<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa8ab4ad0b239eb38c4acf51be6e918361">WestLite</a>, 
<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa098c89a13b4bb463bb1d870c24c81e8d">SWLite</a>, 
<br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfadbab663d6a79fa10dfc7539ce329d12d">SouthLite</a>, 
<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa88f28150998f3bde68a614db1d756e2c">SELite</a>, 
<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa6786dcd9d11eda568888935ebe69f825">EastLite</a>, 
<a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006dfa00a1b71a698dcac73aa99d2afb8bb526">NELite</a>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150">ModulationType</a> { <a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150afba8a796072ae78d21874ee76358bf2b">Intensity</a>, 
<a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150a1ef10e1e00c425ae8b95d9982d888185">Saturation</a>, 
<a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150a5f06d4888bfccebbd63160269271995c">HueShift</a>, 
<a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150a44307c8f7b2f039bbbf7eb5a8c5460d7">Contrast</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847d">NoiseType</a> { <br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847dac3887da38d11032687fb43469afed1a0">UniformNoise</a> = 0, 
<a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847da0c41513e69a022a61710c8877a792910">GaussianNoise</a>, 
<a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847da3453c3b4f4bdeca1839f43b95c224edb">MultiplicativeGaussianNoise</a>, 
<a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847da5b044265fa519e87792d3452011a9f11">ImpulseNoise</a>, 
<br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847daf60fd2a5751a9bb594d87a6bf5b49afe">LaplacianNoise</a>, 
<a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847da89da8748b00fdfa9ad987a7e3178ae6c">PoissonNoise</a>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afd">RotateDirection</a> { <a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afda999de9461adf90f967929705a08e2859">Rotate90</a>, 
<a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afdaa93912446715f21d9c4a6d371170732f">Rotate180</a>, 
<a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afda9297e750d48dd49640a5102c7c0cd71b">Rotate270</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#adb747b6aa5678afeec840564c16bc3dc">BumpmapType</a> { <b>Linear</b>, 
<b>Spherical</b>, 
<b>Sinuosidal</b>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61ed">Disposition</a> { <br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61eda1948646445935019ba49590d5a0f872d">NoImage</a> =  0, 
<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61edabd5fa02164dd24d562a1870f4417fcd3">Centered</a>, 
<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61edad85d1a58980e7f31e6cd146c73d47740">Tiled</a>, 
<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61eda2d9dd55961bc8e35ee83d32f81981832">CenterTiled</a>, 
<br/>
&#160;&#160;<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61eda594487e467c26884f77f5bbb100a2842">CenteredMaxpect</a>, 
<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61edad2d7064074eb75f9fe87d9c2a4e79b48">TiledMaxpect</a>, 
<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61eda755611776b66b4f8770f725fba429c10">Scaled</a>, 
<a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61eda1f5f39883e189adee31ed8f7452760ed">CenteredAutoFit</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a04ecebe13a238e0408bfbec022377637">gradient</a> (const <a class="elRef" href="qsize.html">QSize</a> &amp;size, const <a class="elRef" href="qcolor.html">QColor</a> &amp;ca, const <a class="elRef" href="qcolor.html">QColor</a> &amp;cb, <a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a> type, int ncols=3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#abed1d6be036886e9137ba218c548da78">unbalancedGradient</a> (const <a class="elRef" href="qsize.html">QSize</a> &amp;size, const <a class="elRef" href="qcolor.html">QColor</a> &amp;ca, const <a class="elRef" href="qcolor.html">QColor</a> &amp;cb, <a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a> type, int xfactor=100, int yfactor=100, int ncols=3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aeb41c4a7748892c4a58537876d2b4a43">blend</a> (const <a class="elRef" href="qcolor.html">QColor</a> &amp;clr, <a class="elRef" href="qimage.html">QImage</a> &amp;dst, float opacity)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a3807184ad11ae02e6b687b9dd2b3ed36">blend</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, <a class="elRef" href="qimage.html">QImage</a> &amp;dst, float opacity)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a7f2e3088e4e5b6e591ae66700b6ab729">blend</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, float initial_intensity, const <a class="elRef" href="qcolor.html">QColor</a> &amp;bgnd, <a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a> eff, bool anti_dir=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a424923afea9e4352f6c4117260eaedaa">blend</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image1, <a class="elRef" href="qimage.html">QImage</a> &amp;image2, <a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a> gt, int xf=100, int yf=100)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a781f82c71e891a86719304febb00bcd7">blend</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image1, <a class="elRef" href="qimage.html">QImage</a> &amp;image2, <a class="elRef" href="qimage.html">QImage</a> &amp;blendImage, <a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a> channel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a0c4e65fc2c4ce326644c25c3ee4e470e">blend</a> (const <a class="elRef" href="qimage.html">QImage</a> &amp;upper, const <a class="elRef" href="qimage.html">QImage</a> &amp;lower, <a class="elRef" href="qimage.html">QImage</a> &amp;output)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a6af6d358685b00711cf64048c50d5aa7">blend</a> (int &amp;x, int &amp;y, const <a class="elRef" href="qimage.html">QImage</a> &amp;upper, const <a class="elRef" href="qimage.html">QImage</a> &amp;lower, <a class="elRef" href="qimage.html">QImage</a> &amp;output)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a771472e3c76d69b36d8afedf20bb4c5f">blendOnLower</a> (int x, int y, const <a class="elRef" href="qimage.html">QImage</a> &amp;upper, const <a class="elRef" href="qimage.html">QImage</a> &amp;lower)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a1a1c9230801db82a8749afce2bca3c0a">blendOnLower</a> (const <a class="elRef" href="qimage.html">QImage</a> &amp;upper, const <a class="elRef" href="qpoint.html">QPoint</a> &amp;upperOffset, <a class="elRef" href="qimage.html">QImage</a> &amp;lower, const <a class="elRef" href="qrect.html">QRect</a> &amp;lowerRect)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a27f5ffd36ad24f0758047010e24f61e8">blendOnLower</a> (const <a class="elRef" href="qimage.html">QImage</a> &amp;upper, const <a class="elRef" href="qpoint.html">QPoint</a> &amp;upperOffset, <a class="elRef" href="qimage.html">QImage</a> &amp;lower, const <a class="elRef" href="qrect.html">QRect</a> &amp;lowerRect, float opacity)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qrect.html">QRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a368790538d6bb63f0599ec766903df99">computeDestinationRect</a> (const <a class="elRef" href="qsize.html">QSize</a> &amp;lowerSize, <a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61ed">Disposition</a> disposition, <a class="elRef" href="qimage.html">QImage</a> &amp;upper)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ab82db28b55944655deff1ee2d6b452ab">blendOnLower</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;upper, <a class="elRef" href="qimage.html">QImage</a> &amp;lower, <a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61ed">Disposition</a> disposition, float opacity)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#afed395de7f5e3265cb6f03a30e4d04ae">channelIntensity</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, float percent, <a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a> channel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a74dd14950a11bdca3e613a3e6036247c">fade</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, float val, const <a class="elRef" href="qcolor.html">QColor</a> &amp;color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ac2bbfe57bc4ee28aec88ce75bb49327d">flatten</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, const <a class="elRef" href="qcolor.html">QColor</a> &amp;ca, const <a class="elRef" href="qcolor.html">QColor</a> &amp;cb, int ncols=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a2ebe8ef668d8f36230ba4d0e2d772b63">hash</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, <a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006df">Lighting</a> lite=NorthLite, unsigned int spacing=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a02114d1df26d4b8905cfd97d01559991">intensity</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, float percent)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aacd875df3ab0ef1dcd0244b55d85d988">modulate</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, <a class="elRef" href="qimage.html">QImage</a> &amp;modImage, bool reverse, <a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150">ModulationType</a> type, int factor, <a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a> channel)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a84c6b5464eb3e5f23742386770dda0cb">toGray</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, bool fast=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ac9a52a0765dfe83327b51d80c292c3b7">desaturate</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, float desat=0.3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a535d5caddc9238047dc558958921f191">contrast</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, int c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aefbc2ab4ea203701a36016fcadb638af">dither</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;image, const <a class="elRef" href="qcolor.html">QColor</a> *palette, int size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a6062fc85735a4cb0703d1d042c33aad2">selectedImage</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img, const <a class="elRef" href="qcolor.html">QColor</a> &amp;col)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a20cd750fecf3222a1929836d279fa0db">contrastHSV</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img, bool sharpen=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a9a6e23f8b0dc1fb2eab48384bb584d3a">normalize</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#adb10ec0ab4cab311d8a89cee81c39030">equalize</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a1accfe84c4fb7ef62c32850254e2d77e">threshold</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img, unsigned int value=128)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#af1121a5b5f266645235867fa4fe7d26b">solarize</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img, double factor=50.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a4a2676f073e634a9c7cbbfbb453d4518">emboss</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double radius, double sigma)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a099fc0097029815cea2f128884d6e8be">emboss</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#abc9cf778e9aa92c5ac39394e8c158613">despeckle</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aa5032a9677a4099f1552c94f84df8e59">charcoal</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double radius, double sigma)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a074f4032d61898072b9942b566370378">charcoal</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double factor=50.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aa8d8eb834025e710ac40914eb8cc8adc">rotate</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, <a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afd">RotateDirection</a> r)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aeeca3461274007499279ebc7628ff577">sample</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, int w, int h)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a22e9b6f51975e0bf1dc627135e3e3c59">addNoise</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, <a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847d">NoiseType</a> type=GaussianNoise)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a61e33dc5c8ae5fe8a48656c3f65015cb">blur</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double radius, double sigma)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a9d593548d7b7762e49551540a9e3b3ef">blur</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double factor=50.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aa4a3ac47ad86b22c5a11346ae41a3c70">edge</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double radius)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a5b4f28eec6c1b2e84ad499d1ce5fde65">implode</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double factor=30.0, unsigned int background=0xFFFFFFFF)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a51848de077e260a2b2e618271efcfbbf">oilPaintConvolve</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double radius)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ae8a3d4dfd349961156c074c163e524dd">oilPaint</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, int radius=3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#aa738a101c2c6509b9aa105b41b3d0f57">sharpen</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double radius, double sigma)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#addbb40520e02a423dd94e5e198f490a8">sharpen</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double factor=30.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ad08b51e2b9d0c3995389a2a379ea46bc">spread</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, unsigned int amount=3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a59beca51265a304cf3a8e5fdff6a7212">shade</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, bool color_shading=true, double azimuth=30.0, double elevation=30.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ad1546aa85db4f0699decdb16fb0a6ecf">swirl</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double degrees=50.0, unsigned int background=0xFFFFFFFF)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#ae744abbbcbfd2ed87b091815ef259ede">wave</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;src, double amplitude=25.0, double frequency=150.0, unsigned int background=0xFFFFFFFF)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qimage.html">QImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKImageEffect.html#a388cd55b0af2c0a42c030e83eb71acc1">bumpmap</a> (<a class="elRef" href="qimage.html">QImage</a> &amp;img, <a class="elRef" href="qimage.html">QImage</a> &amp;map, double azimuth, double elevation, int depth, int xofs, int yofs, int waterlevel, int ambient, bool compensate, bool invert, <a class="el" href="classKImageEffect.html#adb747b6aa5678afeec840564c16bc3dc">BumpmapType</a> type, bool tiled)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This class includes various <a class="elRef" href="qimage.html">QImage</a> based graphical effects. </p>
<p>Everything is static, so there is no need to create an instance of this class. You can just call the static methods. They are encapsulated here merely to provide a common namespace. </p>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00050">50</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="adb747b6aa5678afeec840564c16bc3dc"></a><!-- doxytag: member="KImageEffect::BumpmapType" ref="adb747b6aa5678afeec840564c16bc3dc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#adb747b6aa5678afeec840564c16bc3dc">KImageEffect::BumpmapType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum lists possible bumpmapping implementations. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#a388cd55b0af2c0a42c030e83eb71acc1" title="A bumpmapping algorithm.">KImageEffect::bumpmap()</a> </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00129">129</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a817d86d51d69b85b894ec765af8c61ed"></a><!-- doxytag: member="KImageEffect::Disposition" ref="a817d86d51d69b85b894ec765af8c61ed" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61ed">KImageEffect::Disposition</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Disposition of a source image on top of a destination image. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#a368790538d6bb63f0599ec766903df99" title="Compute the destination rectangle where to draw the upper image on top of another image using the giv...">KImageEffect::computeDestinationRect</a>, <a class="el" href="classKImageEffect.html#a771472e3c76d69b36d8afedf20bb4c5f" title="Blend an image into another one, using alpha in the expected way and over coordinates x and y with re...">KImageEffect::blendOnLower</a> </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61eda1948646445935019ba49590d5a0f872d"></a><!-- doxytag: member="NoImage" ref="a817d86d51d69b85b894ec765af8c61eda1948646445935019ba49590d5a0f872d" args="" -->NoImage</em>&nbsp;</td><td>
<p>Don't overlay. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61edabd5fa02164dd24d562a1870f4417fcd3"></a><!-- doxytag: member="Centered" ref="a817d86d51d69b85b894ec765af8c61edabd5fa02164dd24d562a1870f4417fcd3" args="" -->Centered</em>&nbsp;</td><td>
<p>Center top image on botton image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61edad85d1a58980e7f31e6cd146c73d47740"></a><!-- doxytag: member="Tiled" ref="a817d86d51d69b85b894ec765af8c61edad85d1a58980e7f31e6cd146c73d47740" args="" -->Tiled</em>&nbsp;</td><td>
<p>Tile top image on bottom image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61eda2d9dd55961bc8e35ee83d32f81981832"></a><!-- doxytag: member="CenterTiled" ref="a817d86d51d69b85b894ec765af8c61eda2d9dd55961bc8e35ee83d32f81981832" args="" -->CenterTiled</em>&nbsp;</td><td>
<p>Center and tile top image on bottom image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61eda594487e467c26884f77f5bbb100a2842"></a><!-- doxytag: member="CenteredMaxpect" ref="a817d86d51d69b85b894ec765af8c61eda594487e467c26884f77f5bbb100a2842" args="" -->CenteredMaxpect</em>&nbsp;</td><td>
<p>Center and scale aspect. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61edad2d7064074eb75f9fe87d9c2a4e79b48"></a><!-- doxytag: member="TiledMaxpect" ref="a817d86d51d69b85b894ec765af8c61edad2d7064074eb75f9fe87d9c2a4e79b48" args="" -->TiledMaxpect</em>&nbsp;</td><td>
<p>Tile and scale aspect. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61eda755611776b66b4f8770f725fba429c10"></a><!-- doxytag: member="Scaled" ref="a817d86d51d69b85b894ec765af8c61eda755611776b66b4f8770f725fba429c10" args="" -->Scaled</em>&nbsp;</td><td>
<p>Scale. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a817d86d51d69b85b894ec765af8c61eda1f5f39883e189adee31ed8f7452760ed"></a><!-- doxytag: member="CenteredAutoFit" ref="a817d86d51d69b85b894ec765af8c61eda1f5f39883e189adee31ed8f7452760ed" args="" -->CenteredAutoFit</em>&nbsp;</td><td>
<p>Center and scale or scale aspect. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00326">326</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5dd7fcdf794dd35c23082a1f5327cb74"></a><!-- doxytag: member="KImageEffect::GradientType" ref="a5dd7fcdf794dd35c23082a1f5327cb74" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">KImageEffect::GradientType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum provides a gradient type specification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#aeb41c4a7748892c4a58537876d2b4a43" title="Blends a color into the destination image, using an opacity value for blending one into another...">KImageEffect::blend()</a>, <a class="el" href="classKImageEffect.html#a04ecebe13a238e0408bfbec022377637" title="Create a gradient from color a to color b of the specified type.">KImageEffect::gradient()</a>, <a class="el" href="classKImageEffect.html#abed1d6be036886e9137ba218c548da78" title="Create an unbalanced gradient.">KImageEffect::unbalancedGradient()</a> </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00058">58</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006df"></a><!-- doxytag: member="KImageEffect::Lighting" ref="a96a70f4bb4cbd2dcb602337f045006df" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006df">KImageEffect::Lighting</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum provides a lighting direction specification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#a2ebe8ef668d8f36230ba4d0e2d772b63" title="Build a hash on any given QImage.">KImageEffect::hash()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa0834e3b576490f7e3a254904cf879f05"></a><!-- doxytag: member="NorthLite" ref="a96a70f4bb4cbd2dcb602337f045006dfa0834e3b576490f7e3a254904cf879f05" args="" -->NorthLite</em>&nbsp;</td><td>
<p>Lighting from the top of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa190e99095e856aad1642f7679e6d02e2"></a><!-- doxytag: member="NWLite" ref="a96a70f4bb4cbd2dcb602337f045006dfa190e99095e856aad1642f7679e6d02e2" args="" -->NWLite</em>&nbsp;</td><td>
<p>Lighting from the top left of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa8ab4ad0b239eb38c4acf51be6e918361"></a><!-- doxytag: member="WestLite" ref="a96a70f4bb4cbd2dcb602337f045006dfa8ab4ad0b239eb38c4acf51be6e918361" args="" -->WestLite</em>&nbsp;</td><td>
<p>Lighting from the left of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa098c89a13b4bb463bb1d870c24c81e8d"></a><!-- doxytag: member="SWLite" ref="a96a70f4bb4cbd2dcb602337f045006dfa098c89a13b4bb463bb1d870c24c81e8d" args="" -->SWLite</em>&nbsp;</td><td>
<p>Lighting from the bottom left of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfadbab663d6a79fa10dfc7539ce329d12d"></a><!-- doxytag: member="SouthLite" ref="a96a70f4bb4cbd2dcb602337f045006dfadbab663d6a79fa10dfc7539ce329d12d" args="" -->SouthLite</em>&nbsp;</td><td>
<p>Lighting from the bottom of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa88f28150998f3bde68a614db1d756e2c"></a><!-- doxytag: member="SELite" ref="a96a70f4bb4cbd2dcb602337f045006dfa88f28150998f3bde68a614db1d756e2c" args="" -->SELite</em>&nbsp;</td><td>
<p>Lighting from the bottom right of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa6786dcd9d11eda568888935ebe69f825"></a><!-- doxytag: member="EastLite" ref="a96a70f4bb4cbd2dcb602337f045006dfa6786dcd9d11eda568888935ebe69f825" args="" -->EastLite</em>&nbsp;</td><td>
<p>Lighting from the right of the image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a96a70f4bb4cbd2dcb602337f045006dfa00a1b71a698dcac73aa99d2afb8bb526"></a><!-- doxytag: member="NELite" ref="a96a70f4bb4cbd2dcb602337f045006dfa00a1b71a698dcac73aa99d2afb8bb526" args="" -->NELite</em>&nbsp;</td><td>
<p>Lighting from the top right of the image. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00084">84</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a57be85a9e69c9cf5903ada333ee8b150"></a><!-- doxytag: member="KImageEffect::ModulationType" ref="a57be85a9e69c9cf5903ada333ee8b150" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150">KImageEffect::ModulationType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum provides a modulation type specification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#aacd875df3ab0ef1dcd0244b55d85d988" title="Modulate the image with a color channel of another image.">KImageEffect::modulate()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a57be85a9e69c9cf5903ada333ee8b150afba8a796072ae78d21874ee76358bf2b"></a><!-- doxytag: member="Intensity" ref="a57be85a9e69c9cf5903ada333ee8b150afba8a796072ae78d21874ee76358bf2b" args="" -->Intensity</em>&nbsp;</td><td>
<p>Modulate image intensity. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a57be85a9e69c9cf5903ada333ee8b150a1ef10e1e00c425ae8b95d9982d888185"></a><!-- doxytag: member="Saturation" ref="a57be85a9e69c9cf5903ada333ee8b150a1ef10e1e00c425ae8b95d9982d888185" args="" -->Saturation</em>&nbsp;</td><td>
<p>Modulate image saturation. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a57be85a9e69c9cf5903ada333ee8b150a5f06d4888bfccebbd63160269271995c"></a><!-- doxytag: member="HueShift" ref="a57be85a9e69c9cf5903ada333ee8b150a5f06d4888bfccebbd63160269271995c" args="" -->HueShift</em>&nbsp;</td><td>
<p>Modulate image hue. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a57be85a9e69c9cf5903ada333ee8b150a44307c8f7b2f039bbbf7eb5a8c5460d7"></a><!-- doxytag: member="Contrast" ref="a57be85a9e69c9cf5903ada333ee8b150a44307c8f7b2f039bbbf7eb5a8c5460d7" args="" -->Contrast</em>&nbsp;</td><td>
<p>Modulate image contrast. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00098">98</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a17bb51948809b1e9b84a30b8393b847d"></a><!-- doxytag: member="KImageEffect::NoiseType" ref="a17bb51948809b1e9b84a30b8393b847d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847d">KImageEffect::NoiseType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum provides a noise type specification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#a22e9b6f51975e0bf1dc627135e3e3c59" title="Adds noise to an image.">KImageEffect::addNoise()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a17bb51948809b1e9b84a30b8393b847dac3887da38d11032687fb43469afed1a0"></a><!-- doxytag: member="UniformNoise" ref="a17bb51948809b1e9b84a30b8393b847dac3887da38d11032687fb43469afed1a0" args="" -->UniformNoise</em>&nbsp;</td><td>
<p>Uniform distribution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a17bb51948809b1e9b84a30b8393b847da0c41513e69a022a61710c8877a792910"></a><!-- doxytag: member="GaussianNoise" ref="a17bb51948809b1e9b84a30b8393b847da0c41513e69a022a61710c8877a792910" args="" -->GaussianNoise</em>&nbsp;</td><td>
<p>Gaussian distribution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a17bb51948809b1e9b84a30b8393b847da3453c3b4f4bdeca1839f43b95c224edb"></a><!-- doxytag: member="MultiplicativeGaussianNoise" ref="a17bb51948809b1e9b84a30b8393b847da3453c3b4f4bdeca1839f43b95c224edb" args="" -->MultiplicativeGaussianNoise</em>&nbsp;</td><td>
<p>Multiplicative Gaussian distribution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a17bb51948809b1e9b84a30b8393b847da5b044265fa519e87792d3452011a9f11"></a><!-- doxytag: member="ImpulseNoise" ref="a17bb51948809b1e9b84a30b8393b847da5b044265fa519e87792d3452011a9f11" args="" -->ImpulseNoise</em>&nbsp;</td><td>
<p>Impulse distribution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a17bb51948809b1e9b84a30b8393b847daf60fd2a5751a9bb594d87a6bf5b49afe"></a><!-- doxytag: member="LaplacianNoise" ref="a17bb51948809b1e9b84a30b8393b847daf60fd2a5751a9bb594d87a6bf5b49afe" args="" -->LaplacianNoise</em>&nbsp;</td><td>
<p>Laplacian distribution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a17bb51948809b1e9b84a30b8393b847da89da8748b00fdfa9ad987a7e3178ae6c"></a><!-- doxytag: member="PoissonNoise" ref="a17bb51948809b1e9b84a30b8393b847da89da8748b00fdfa9ad987a7e3178ae6c" args="" -->PoissonNoise</em>&nbsp;</td><td>
<p>Poisson distribution. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00108">108</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="ade122b4821923df992d902d844ee8dea"></a><!-- doxytag: member="KImageEffect::RGBComponent" ref="ade122b4821923df992d902d844ee8dea" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">KImageEffect::RGBComponent</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum provides a RGB channel specification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#aeb41c4a7748892c4a58537876d2b4a43" title="Blends a color into the destination image, using an opacity value for blending one into another...">KImageEffect::blend()</a>, <a class="el" href="classKImageEffect.html#afed395de7f5e3265cb6f03a30e4d04ae" title="Modifies the intensity of a pixmap&#39;s RGB channel component.">KImageEffect::channelIntensity()</a>, <a class="el" href="classKImageEffect.html#aacd875df3ab0ef1dcd0244b55d85d988" title="Modulate the image with a color channel of another image.">KImageEffect::modulate()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ade122b4821923df992d902d844ee8deaa8428ae9bb4f10835798177d7ae8ff2c1"></a><!-- doxytag: member="Red" ref="ade122b4821923df992d902d844ee8deaa8428ae9bb4f10835798177d7ae8ff2c1" args="" -->Red</em>&nbsp;</td><td>
<p>Red channel. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ade122b4821923df992d902d844ee8deaa5d121e962178e026143bde406e3718c4"></a><!-- doxytag: member="Green" ref="ade122b4821923df992d902d844ee8deaa5d121e962178e026143bde406e3718c4" args="" -->Green</em>&nbsp;</td><td>
<p>Green channel. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ade122b4821923df992d902d844ee8deaa897b41db8f45ae9e097e15d72c599444"></a><!-- doxytag: member="Blue" ref="ade122b4821923df992d902d844ee8deaa897b41db8f45ae9e097e15d72c599444" args="" -->Blue</em>&nbsp;</td><td>
<p>Blue channel. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ade122b4821923df992d902d844ee8deaa24f5a040f37789b1c63922b00eff1f8f"></a><!-- doxytag: member="Gray" ref="ade122b4821923df992d902d844ee8deaa24f5a040f37789b1c63922b00eff1f8f" args="" -->Gray</em>&nbsp;</td><td>
<p>Grey channel. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ade122b4821923df992d902d844ee8deaa3116c89c1cef765f12cb6ea79c99eb7f"></a><!-- doxytag: member="All" ref="ade122b4821923df992d902d844ee8deaa3116c89c1cef765f12cb6ea79c99eb7f" args="" -->All</em>&nbsp;</td><td>
<p>All channels. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00073">73</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<a class="anchor" id="a60406c67ad94d76bc8b596f7d9411afd"></a><!-- doxytag: member="KImageEffect::RotateDirection" ref="a60406c67ad94d76bc8b596f7d9411afd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afd">KImageEffect::RotateDirection</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This enum provides a rotation specification. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKImageEffect.html#aa8d8eb834025e710ac40914eb8cc8adc" title="Rotates the image by the specified amount.">KImageEffect::rotate()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a60406c67ad94d76bc8b596f7d9411afda999de9461adf90f967929705a08e2859"></a><!-- doxytag: member="Rotate90" ref="a60406c67ad94d76bc8b596f7d9411afda999de9461adf90f967929705a08e2859" args="" -->Rotate90</em>&nbsp;</td><td>
<p>Rotate 90 degrees to the right. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a60406c67ad94d76bc8b596f7d9411afdaa93912446715f21d9c4a6d371170732f"></a><!-- doxytag: member="Rotate180" ref="a60406c67ad94d76bc8b596f7d9411afdaa93912446715f21d9c4a6d371170732f" args="" -->Rotate180</em>&nbsp;</td><td>
<p>Rotate 180 degrees. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a60406c67ad94d76bc8b596f7d9411afda9297e750d48dd49640a5102c7c0cd71b"></a><!-- doxytag: member="Rotate270" ref="a60406c67ad94d76bc8b596f7d9411afda9297e750d48dd49640a5102c7c0cd71b" args="" -->Rotate270</em>&nbsp;</td><td>
<p>Rotate 90 degrees to the left. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8h_source.html#l00120">120</a> of file <a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a22e9b6f51975e0bf1dc627135e3e3c59"></a><!-- doxytag: member="KImageEffect::addNoise" ref="a22e9b6f51975e0bf1dc627135e3e3c59" args="(QImage &amp;src, NoiseType type=GaussianNoise)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::addNoise </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a17bb51948809b1e9b84a30b8393b847d">NoiseType</a>&#160;</td>
          <td class="paramname"><em>type</em> = <code>GaussianNoise</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds noise to an image. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">type</td><td>The algorithm used to generate the noise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The image with noise added. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03112">3112</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeb41c4a7748892c4a58537876d2b4a43"></a><!-- doxytag: member="KImageEffect::blend" ref="aeb41c4a7748892c4a58537876d2b4a43" args="(const QColor &amp;clr, QImage &amp;dst, float opacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>clr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>opacity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blends a color into the destination image, using an opacity value for blending one into another. </p>
<p>Very fast direct pixel manipulation is used.</p>
<p>This function uses MMX and SSE2 instructions to blend the image on processors that support it.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">clr</td><td>source color to be blended into the destination image. </td></tr>
    <tr><td class="paramname">dst</td><td>destination image in which the source will be blended into. </td></tr>
    <tr><td class="paramname">opacity</td><td>opacity (between 0.0 and 1.0) which determines how much the source color will be blended into the destination image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The destination image (dst) containing the result. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Karol Szwed (<a href="mailto:gallium@kde.org">gallium@kde.org</a>) </dd>
<dd>
Fredrik H&ouml;glund (<a href="mailto:fredrik@kde.org">fredrik@kde.org</a>) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01067">1067</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3807184ad11ae02e6b687b9dd2b3ed36"></a><!-- doxytag: member="KImageEffect::blend" ref="a3807184ad11ae02e6b687b9dd2b3ed36" args="(QImage &amp;src, QImage &amp;dst, float opacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>dst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>opacity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend the src image into the destination image, using an opacity value for blending one into another. </p>
<p>Very fast direct pixel manipulation is used.</p>
<p>This function uses MMX and SSE2 instructions to blend the images on processors that support it.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>source image to be blended into the destination image. </td></tr>
    <tr><td class="paramname">dst</td><td>destination image in which the source will be blended into. </td></tr>
    <tr><td class="paramname">opacity</td><td>opacity (between 0.0 and 1.0) which determines how much the source image will be blended into the destination image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The destination image (dst) containing the result. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Karol Szwed (<a href="mailto:gallium@kde.org">gallium@kde.org</a>) </dd>
<dd>
Fredrik H&ouml;glund (<a href="mailto:fredrik@kde.org">fredrik@kde.org</a>) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01308">1308</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0c4e65fc2c4ce326644c25c3ee4e470e"></a><!-- doxytag: member="KImageEffect::blend" ref="a0c4e65fc2c4ce326644c25c3ee4e470e" args="(const QImage &amp;upper, const QImage &amp;lower, QImage &amp;output)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend an image into another one, using alpha in the expected way. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">upper</td><td>the "upper" image </td></tr>
    <tr><td class="paramname">lower</td><td>the "lower" image </td></tr>
    <tr><td class="paramname">output</td><td>the target image </td></tr>
  </table>
  </dd>
</dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Rik Hemsley (rikkus) &lt;<a href="mailto:rik@kde.org">rik@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02378">2378</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6af6d358685b00711cf64048c50d5aa7"></a><!-- doxytag: member="KImageEffect::blend" ref="a6af6d358685b00711cf64048c50d5aa7" args="(int &amp;x, int &amp;y, const QImage &amp;upper, const QImage &amp;lower, QImage &amp;output)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. </p>
<p>The output is a <a class="elRef" href="qimage.html">QImage</a> which is the <code>upper</code> image already blended with the <code>lower</code> one, so its size will be (in general) the same than <code>upper</code> instead of the same size than <code>lower</code> like the method above. In fact, the size of <code>output</code> is like upper's one only when it can be painted on lower, if there has to be some clipping, output's size will be the clipped area and x and y will be set to the correct up-left corner where the clipped rectangle begins. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>x-coordinate of lower image </td></tr>
    <tr><td class="paramname">y</td><td>y-coordinate of lower image </td></tr>
    <tr><td class="paramname">upper</td><td>the "upper" image </td></tr>
    <tr><td class="paramname">lower</td><td>the "lower" image </td></tr>
    <tr><td class="paramname">output</td><td>the target image </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02450">2450</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7f2e3088e4e5b6e591ae66700b6ab729"></a><!-- doxytag: member="KImageEffect::blend" ref="a7f2e3088e4e5b6e591ae66700b6ab729" args="(QImage &amp;image, float initial_intensity, const QColor &amp;bgnd, GradientType eff, bool anti_dir=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>initial_intensity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>bgnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a>&#160;</td>
          <td class="paramname"><em>eff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>anti_dir</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend the provided image into a background of the indicated color. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">initial_intensity</td><td>this parameter takes values from -1 to 1: a) if positive: how much to fade the image in its less affected spot b) if negative: roughly indicates how much of the image remains unaffected </td></tr>
    <tr><td class="paramname">bgnd</td><td>indicates the color of the background to blend in </td></tr>
    <tr><td class="paramname">eff</td><td>lets you choose what kind of blending you like </td></tr>
    <tr><td class="paramname">anti_dir</td><td>blend in the opposite direction (makes no much sense with concentric blending effects) </td></tr>
    <tr><td class="paramname">image</td><td>must be 32bpp </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01537">1537</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a424923afea9e4352f6c4117260eaedaa"></a><!-- doxytag: member="KImageEffect::blend" ref="a424923afea9e4352f6c4117260eaedaa" args="(QImage &amp;image1, QImage &amp;image2, GradientType gt, int xf=100, int yf=100)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a>&#160;</td>
          <td class="paramname"><em>gt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xf</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yf</em> = <code>100</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend an image into another one, using a gradient type for blending from one to another. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image1</td><td>source1 and result of blending </td></tr>
    <tr><td class="paramname">image2</td><td>source2 of blending </td></tr>
    <tr><td class="paramname">gt</td><td>gradient type for blending between source1 and source2 </td></tr>
    <tr><td class="paramname">xf</td><td>x decay length for unbalanced gradient tpye </td></tr>
    <tr><td class="paramname">yf</td><td>y decay length for unbalanced gradient tpye </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01745">1745</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a781f82c71e891a86719304febb00bcd7"></a><!-- doxytag: member="KImageEffect::blend" ref="a781f82c71e891a86719304febb00bcd7" args="(QImage &amp;image1, QImage &amp;image2, QImage &amp;blendImage, RGBComponent channel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::blend </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>blendImage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a>&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend an image into another one, using a color channel of a third image for the decision of blending from one to another. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image1</td><td>Source 1 and result of blending </td></tr>
    <tr><td class="paramname">image2</td><td>Source 2 of blending </td></tr>
    <tr><td class="paramname">blendImage</td><td>If the gray value of of pixel is 0, the result for this pixel is that of image1; for a gray value of 1, the pixel of image2 is used; for a value in between, a corresponding blending is used. </td></tr>
    <tr><td class="paramname">channel</td><td>The RBG channel to use for the blending decision. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01763">1763</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a771472e3c76d69b36d8afedf20bb4c5f"></a><!-- doxytag: member="KImageEffect::blendOnLower" ref="a771472e3c76d69b36d8afedf20bb4c5f" args="(int x, int y, const QImage &amp;upper, const QImage &amp;lower)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KImageEffect::blendOnLower </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend an image into another one, using alpha in the expected way and over coordinates <code>x</code> and <code>y</code> with respect to the lower image. </p>
<p>The output is painted in the own <code>lower</code> image. This is an optimization of the blend method above provided by convenience. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>x-coordinate of lower image </td></tr>
    <tr><td class="paramname">y</td><td>y-coordinate of lower image </td></tr>
    <tr><td class="paramname">upper</td><td>the "upper" image </td></tr>
    <tr><td class="paramname">lower</td><td>the "lower" image, which becomes the output image </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02514">2514</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1a1c9230801db82a8749afce2bca3c0a"></a><!-- doxytag: member="KImageEffect::blendOnLower" ref="a1a1c9230801db82a8749afce2bca3c0a" args="(const QImage &amp;upper, const QPoint &amp;upperOffset, QImage &amp;lower, const QRect &amp;lowerRect)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::blendOnLower </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpoint.html">QPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>upperOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qrect.html">QRect</a> &amp;&#160;</td>
          <td class="paramname"><em>lowerRect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend part of an image into part of another, using the alpha channel in the expected way. </p>
<p>Note that the destination rectangle will be correctly clipped.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">upper</td><td>the "upper" image </td></tr>
    <tr><td class="paramname">upperOffset</td><td>Offset for the part of the upper image to be used. </td></tr>
    <tr><td class="paramname">lower</td><td>the "lower" image </td></tr>
    <tr><td class="paramname">lowerRect</td><td>Rectangle for the part of the lower image where the blending will occur. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02584">2584</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a27f5ffd36ad24f0758047010e24f61e8"></a><!-- doxytag: member="KImageEffect::blendOnLower" ref="a27f5ffd36ad24f0758047010e24f61e8" args="(const QImage &amp;upper, const QPoint &amp;upperOffset, QImage &amp;lower, const QRect &amp;lowerRect, float opacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::blendOnLower </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qpoint.html">QPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>upperOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qrect.html">QRect</a> &amp;&#160;</td>
          <td class="paramname"><em>lowerRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>opacity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend part of an image into part of another, using the opacity value and the alpha channel in the expected way. </p>
<p>Note that the destination rectangle will be correctly clipped.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">upper</td><td>the "upper" image </td></tr>
    <tr><td class="paramname">upperOffset</td><td>Offset for the part of the upper image to be used. </td></tr>
    <tr><td class="paramname">lower</td><td>the "lower" image </td></tr>
    <tr><td class="paramname">lowerRect</td><td>Rectangle for the part of the lower image where the blending will occur. </td></tr>
    <tr><td class="paramname">opacity</td><td>Opacity (between 0.0 and 1.0) which determines how much the source image will be blended into the destination image. </td></tr>
  </table>
  </dd>
</dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02606">2606</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab82db28b55944655deff1ee2d6b452ab"></a><!-- doxytag: member="KImageEffect::blendOnLower" ref="ab82db28b55944655deff1ee2d6b452ab" args="(QImage &amp;upper, QImage &amp;lower, Disposition disposition, float opacity)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::blendOnLower </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>lower</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61ed">Disposition</a>&#160;</td>
          <td class="paramname"><em>disposition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>opacity</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blend an image on top of another using a given disposition and a given opacity. </p>
<p>The alpha channel of the upper image is used in the expected way. Beware the upper image may be modified. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02693">2693</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a61e33dc5c8ae5fe8a48656c3f65015cb"></a><!-- doxytag: member="KImageEffect::blur" ref="a61e33dc5c8ae5fe8a48656c3f65015cb" args="(QImage &amp;src, double radius, double sigma)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::blur </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sigma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Blurs an image by convolving pixel neighborhoods. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. </td></tr>
    <tr><td class="paramname">sigma</td><td>The standard deviation of the gaussian. Use 1 if you're not sure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The blurred image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04260">4260</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9d593548d7b7762e49551540a9e3b3ef"></a><!-- doxytag: member="KImageEffect::blur" ref="a9d593548d7b7762e49551540a9e3b3ef" args="(QImage &amp;src, double factor=50.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::blur </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em> = <code>50.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is provided for binary compatability only! Use the above method with a radius and sigma instead! </p>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04254">4254</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a388cd55b0af2c0a42c030e83eb71acc1"></a><!-- doxytag: member="KImageEffect::bumpmap" ref="a388cd55b0af2c0a42c030e83eb71acc1" args="(QImage &amp;img, QImage &amp;map, double azimuth, double elevation, int depth, int xofs, int yofs, int waterlevel, int ambient, bool compensate, bool invert, BumpmapType type, bool tiled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::bumpmap </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>map</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>azimuth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>elevation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>depth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xofs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yofs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>waterlevel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ambient</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>compensate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>invert</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#adb747b6aa5678afeec840564c16bc3dc">BumpmapType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>tiled</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A bumpmapping algorithm. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>the image you want bumpmap </td></tr>
    <tr><td class="paramname">map</td><td>the map used </td></tr>
    <tr><td class="paramname">azimuth</td><td>azimuth </td></tr>
    <tr><td class="paramname">elevation</td><td>elevation </td></tr>
    <tr><td class="paramname">depth</td><td>depth (not the depth of the image, but of the map) </td></tr>
    <tr><td class="paramname">xofs</td><td>X offset </td></tr>
    <tr><td class="paramname">yofs</td><td>Y offset </td></tr>
    <tr><td class="paramname">waterlevel</td><td>level that full transparency should represent </td></tr>
    <tr><td class="paramname">ambient</td><td>ambient lighting factor </td></tr>
    <tr><td class="paramname">compensate</td><td>compensate for darkening </td></tr>
    <tr><td class="paramname">invert</td><td>invert bumpmap </td></tr>
    <tr><td class="paramname">type</td><td>type of the bumpmap </td></tr>
    <tr><td class="paramname">tiled</td><td>tile the bumpmap over the image through the Y offset</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The destination image (dst) containing the result. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Zack Rusin &lt;<a href="mailto:zack@kde.org">zack@kde.org</a>&gt;</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>the image you want bumpmap </td></tr>
    <tr><td class="paramname">map</td><td>the map used </td></tr>
    <tr><td class="paramname">azimuth</td><td>azimuth </td></tr>
    <tr><td class="paramname">elevation</td><td>elevation </td></tr>
    <tr><td class="paramname">depth</td><td>depth (not the depth of the image, but of the map) </td></tr>
    <tr><td class="paramname">xofs</td><td>X offset </td></tr>
    <tr><td class="paramname">yofs</td><td>Y offset </td></tr>
    <tr><td class="paramname">waterlevel</td><td>level that full transparency should represent </td></tr>
    <tr><td class="paramname">ambient</td><td>ambient lighting factor </td></tr>
    <tr><td class="paramname">compensate</td><td>compensate for darkening </td></tr>
    <tr><td class="paramname">invert</td><td>invert bumpmap </td></tr>
    <tr><td class="paramname">type</td><td>type of the bumpmap</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The destination image (dst) containing the result. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Zack Rusin &lt;<a href="mailto:zack@kde.org">zack@kde.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04851">4851</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afed395de7f5e3265cb6f03a30e4d04ae"></a><!-- doxytag: member="KImageEffect::channelIntensity" ref="afed395de7f5e3265cb6f03a30e4d04ae" args="(QImage &amp;image, float percent, RGBComponent channel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::channelIntensity </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>percent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a>&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Modifies the intensity of a pixmap's RGB channel component. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">percent</td><td>Percent value. Use a negative value to dim. </td></tr>
    <tr><td class="paramname">channel</td><td>Which channel(s) should be modified </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <code>image</code>, provided for convenience. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l00846">846</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa5032a9677a4099f1552c94f84df8e59"></a><!-- doxytag: member="KImageEffect::charcoal" ref="aa5032a9677a4099f1552c94f84df8e59" args="(QImage &amp;src, double radius, double sigma)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::charcoal </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sigma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Produces a neat little "charcoal" effect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. </td></tr>
    <tr><td class="paramname">sigma</td><td>The standard deviation of the gaussian. Use 1 if you're not sure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The charcoal image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03683">3683</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a074f4032d61898072b9942b566370378"></a><!-- doxytag: member="KImageEffect::charcoal" ref="a074f4032d61898072b9942b566370378" args="(QImage &amp;src, double factor=50.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::charcoal </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em> = <code>50.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is provided for binary compatability only! Use the above method with a radius and sigma instead! </p>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03677">3677</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a368790538d6bb63f0599ec766903df99"></a><!-- doxytag: member="KImageEffect::computeDestinationRect" ref="a368790538d6bb63f0599ec766903df99" args="(const QSize &amp;lowerSize, Disposition disposition, QImage &amp;upper)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qrect.html">QRect</a> KImageEffect::computeDestinationRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qsize.html">QSize</a> &amp;&#160;</td>
          <td class="paramname"><em>lowerSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a817d86d51d69b85b894ec765af8c61ed">Disposition</a>&#160;</td>
          <td class="paramname"><em>disposition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>upper</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compute the destination rectangle where to draw the upper image on top of another image using the given disposition. </p>
<p>For tiled disposition, the rectangle should be duplicated on the whole area to obtained the wanted effect.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">lowerSize</td><td>The size of the destination image. </td></tr>
    <tr><td class="paramname">disposition</td><td>The wanted disposition. </td></tr>
    <tr><td class="paramname">upper</td><td>The upper image. Note that this image may be scaled to adjust to the requested disposition.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the computed rectangle. Its size may exceed <em>lowerSize</em>. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02628">2628</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a535d5caddc9238047dc558958921f191"></a><!-- doxytag: member="KImageEffect::contrast" ref="a535d5caddc9238047dc558958921f191" args="(QImage &amp;image, int c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::contrast </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fast, but low quality contrast of an image. </p>
<p>Also see contrastHSV.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">c</td><td>A contrast value between -255 to 255. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The image(), provided for convenience. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) ### <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> 4: remove </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02199">2199</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a20cd750fecf3222a1929836d279fa0db"></a><!-- doxytag: member="KImageEffect::contrastHSV" ref="a20cd750fecf3222a1929836d279fa0db" args="(QImage &amp;img, bool sharpen=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::contrastHSV </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>sharpen</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>High quality, expensive HSV contrast. </p>
<p>You can do a faster one by just taking a intensity threshold (ie: 128) and incrementing RGB color channels above it and decrementing those below it, but this gives much better results.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">sharpen</td><td>If true sharpness is increase, (spiffed). Otherwise it is decreased, (dulled). </td></tr>
  </table>
  </dd>
</dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04614">4614</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac9a52a0765dfe83327b51d80c292c3b7"></a><!-- doxytag: member="KImageEffect::desaturate" ref="ac9a52a0765dfe83327b51d80c292c3b7" args="(QImage &amp;image, float desat=0.3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::desaturate </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>desat</em> = <code>0.3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Desaturate an image evenly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">desat</td><td>A value between 0 and 1 setting the degree of desaturation </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the image(), provided for convenience. </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02176">2176</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abc9cf778e9aa92c5ac39394e8c158613"></a><!-- doxytag: member="KImageEffect::despeckle" ref="abc9cf778e9aa92c5ac39394e8c158613" args="(QImage &amp;src)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::despeckle </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Minimizes speckle noise in the source image using the 8 hull algorithm. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The despeckled image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02906">2906</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aefbc2ab4ea203701a36016fcadb638af"></a><!-- doxytag: member="KImageEffect::dither" ref="aefbc2ab4ea203701a36016fcadb638af" args="(QImage &amp;image, const QColor *palette, int size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::dither </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> *&#160;</td>
          <td class="paramname"><em>palette</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Dither an image using Floyd-Steinberg dithering for low-color situations. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">palette</td><td>The color palette to use </td></tr>
    <tr><td class="paramname">size</td><td>The size of the palette </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the image(), provided for convenience. </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02261">2261</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa4a3ac47ad86b22c5a11346ae41a3c70"></a><!-- doxytag: member="KImageEffect::edge" ref="aa4a3ac47ad86b22c5a11346ae41a3c70" args="(QImage &amp;src, double radius)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::edge </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Detects edges in an image using pixel neighborhoods and an edge detection mask. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The image with edges detected. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04003">4003</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a099fc0097029815cea2f128884d6e8be"></a><!-- doxytag: member="KImageEffect::emboss" ref="a099fc0097029815cea2f128884d6e8be" args="(QImage &amp;src)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::emboss </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convenience method. </p>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04035">4035</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4a2676f073e634a9c7cbbfbb453d4518"></a><!-- doxytag: member="KImageEffect::emboss" ref="a4a2676f073e634a9c7cbbfbb453d4518" args="(QImage &amp;src, double radius, double sigma)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::emboss </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sigma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Embosses the source image. </p>
<p>This involves highlighting the edges and applying various other enhancements in order to get a metal effect.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. </td></tr>
    <tr><td class="paramname">sigma</td><td>The standard deviation of the gaussian. Use 1 if you're not sure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The embossed image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04041">4041</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adb10ec0ab4cab311d8a89cee81c39030"></a><!-- doxytag: member="KImageEffect::equalize" ref="adb10ec0ab4cab311d8a89cee81c39030" args="(QImage &amp;img)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::equalize </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performs histogram equalisation on the reference image. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>the image that is equalised </td></tr>
  </table>
  </dd>
</dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03903">3903</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a74dd14950a11bdca3e613a3e6036247c"></a><!-- doxytag: member="KImageEffect::fade" ref="a74dd14950a11bdca3e613a3e6036247c" args="(QImage &amp;image, float val, const QColor &amp;color)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::fade </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fade an image to a certain background color. </p>
<p>The number of colors will not be changed.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">val</td><td>The strength of the effect. 0 &lt;= val &lt;= 1. </td></tr>
    <tr><td class="paramname">color</td><td>The background color. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the image(), provided for convenience. </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02044">2044</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac2bbfe57bc4ee28aec88ce75bb49327d"></a><!-- doxytag: member="KImageEffect::flatten" ref="ac2bbfe57bc4ee28aec88ce75bb49327d" args="(QImage &amp;image, const QColor &amp;ca, const QColor &amp;cb, int ncols=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::flatten </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>ca</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ncols</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This recolors a pixmap. </p>
<p>The most dark color will become color a, the most bright one color b, and in between.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>A <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">ca</td><td>Color a </td></tr>
    <tr><td class="paramname">cb</td><td>Color b </td></tr>
    <tr><td class="paramname">ncols</td><td>The number of colors to dither the image to. Pass 0 to prevent dithering. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01947">1947</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a04ecebe13a238e0408bfbec022377637"></a><!-- doxytag: member="KImageEffect::gradient" ref="a04ecebe13a238e0408bfbec022377637" args="(const QSize &amp;size, const QColor &amp;ca, const QColor &amp;cb, GradientType type, int ncols=3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::gradient </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qsize.html">QSize</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>ca</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ncols</em> = <code>3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a gradient from color a to color b of the specified type. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The desired size of the gradient. </td></tr>
    <tr><td class="paramname">ca</td><td>Color a </td></tr>
    <tr><td class="paramname">cb</td><td>Color b </td></tr>
    <tr><td class="paramname">type</td><td>The type of gradient. </td></tr>
    <tr><td class="paramname">ncols</td><td>The number of colors to use when not running on a truecolor display. The gradient will be dithered to this number of colors. Pass 0 to prevent dithering. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l00124">124</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2ebe8ef668d8f36230ba4d0e2d772b63"></a><!-- doxytag: member="KImageEffect::hash" ref="a2ebe8ef668d8f36230ba4d0e2d772b63" args="(QImage &amp;image, Lighting lite=NorthLite, unsigned int spacing=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::hash </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a96a70f4bb4cbd2dcb602337f045006df">Lighting</a>&#160;</td>
          <td class="paramname"><em>lite</em> = <code>NorthLite</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>spacing</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Build a hash on any given <a class="elRef" href="qimage.html">QImage</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process </td></tr>
    <tr><td class="paramname">lite</td><td>The hash faces the indicated lighting (cardinal poles). </td></tr>
    <tr><td class="paramname">spacing</td><td>How many unmodified pixels in between hashes. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the image(), provided for convenience. </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l01866">1866</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5b4f28eec6c1b2e84ad499d1ce5fde65"></a><!-- doxytag: member="KImageEffect::implode" ref="a5b4f28eec6c1b2e84ad499d1ce5fde65" args="(QImage &amp;src, double factor=30.0, unsigned int background=0xFFFFFFFF)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::implode </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em> = <code>30.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>background</em> = <code>0xFFFFFFFF</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implodes an image by a specified percent. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">factor</td><td>The extent of the implosion. </td></tr>
    <tr><td class="paramname">background</td><td>An RGBA value to use for the background. After the effect some pixels may be "empty". This value is used for those pixels. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The imploded image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03242">3242</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a02114d1df26d4b8905cfd97d01559991"></a><!-- doxytag: member="KImageEffect::intensity" ref="a02114d1df26d4b8905cfd97d01559991" args="(QImage &amp;image, float percent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::intensity </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>percent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Either brighten or dim the image by a specified percent. </p>
<p>For example, .50 will modify the colors by 50%.</p>
<p>This function uses MMX instructions to process the image on processors that support it.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">percent</td><td>The percent value. Use a negative value to dim. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns The image(), provided for convenience. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd>
<dd>
Benjamin Roe (<a href="mailto:ben@benroe.com">ben@benroe.com</a>) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l00654">654</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aacd875df3ab0ef1dcd0244b55d85d988"></a><!-- doxytag: member="KImageEffect::modulate" ref="aacd875df3ab0ef1dcd0244b55d85d988" args="(QImage &amp;image, QImage &amp;modImage, bool reverse, ModulationType type, int factor, RGBComponent channel)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::modulate </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>modImage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>reverse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a57be85a9e69c9cf5903ada333ee8b150">ModulationType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>factor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#ade122b4821923df992d902d844ee8dea">RGBComponent</a>&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Modulate the image with a color channel of another image. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to modulate and result. </td></tr>
    <tr><td class="paramname">modImage</td><td>The <a class="elRef" href="qimage.html">QImage</a> to use for modulation. </td></tr>
    <tr><td class="paramname">reverse</td><td>Invert the meaning of image/modImage; result is image! </td></tr>
    <tr><td class="paramname">type</td><td>The modulation Type to use. </td></tr>
    <tr><td class="paramname">factor</td><td>The modulation amplitude; with 0 no effect [-200;200]. </td></tr>
    <tr><td class="paramname">channel</td><td>The RBG channel of image2 to use for modulation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the image(), provided for convenience. </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l00937">937</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9a6e23f8b0dc1fb2eab48384bb584d3a"></a><!-- doxytag: member="KImageEffect::normalize" ref="a9a6e23f8b0dc1fb2eab48384bb584d3a" args="(QImage &amp;img)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::normalize </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Normalises the pixel values to span the full range of color values. </p>
<p>This is a contrast enhancement technique. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>the image that is normalised </td></tr>
  </table>
  </dd>
</dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03693">3693</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae8a3d4dfd349961156c074c163e524dd"></a><!-- doxytag: member="KImageEffect::oilPaint" ref="ae8a3d4dfd349961156c074c163e524dd" args="(QImage &amp;src, int radius=3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::oilPaint </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>radius</em> = <code>3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is provided for binary compatability only! Use the above method instead! </p>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03606">3606</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a51848de077e260a2b2e618271efcfbbf"></a><!-- doxytag: member="KImageEffect::oilPaintConvolve" ref="a51848de077e260a2b2e618271efcfbbf" args="(QImage &amp;src, double radius)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::oilPaintConvolve </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Produces an oil painting effect. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The new image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03612">3612</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa8d8eb834025e710ac40914eb8cc8adc"></a><!-- doxytag: member="KImageEffect::rotate" ref="aa8d8eb834025e710ac40914eb8cc8adc" args="(QImage &amp;src, RotateDirection r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::rotate </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a60406c67ad94d76bc8b596f7d9411afd">RotateDirection</a>&#160;</td>
          <td class="paramname"><em>r</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rotates the image by the specified amount. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">r</td><td>The rotate direction. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The rotated image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03323">3323</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeeca3461274007499279ebc7628ff577"></a><!-- doxytag: member="KImageEffect::sample" ref="aeeca3461274007499279ebc7628ff577" args="(QImage &amp;src, int w, int h)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::sample </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Scales an image using simple pixel sampling. </p>
<p>This does not produce nearly as nice a result as <a class="elRef" href="qimage.html#smoothScale">QImage::smoothScale()</a>, but has the advantage of being much faster - only a few milliseconds.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">w</td><td>The new width. </td></tr>
    <tr><td class="paramname">h</td><td>The new height. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The scaled image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02747">2747</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6062fc85735a4cb0703d1d042c33aad2"></a><!-- doxytag: member="KImageEffect::selectedImage" ref="a6062fc85735a4cb0703d1d042c33aad2" args="(QImage &amp;img, const QColor &amp;col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::selectedImage </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calculate the image for a selected image, for instance a selected icon on the desktop. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>the <a class="elRef" href="qimage.html">QImage</a> to select </td></tr>
    <tr><td class="paramname">col</td><td>the selected color, usually from <a class="elRef" href="qcolorgroup.html#highlight">QColorGroup::highlight()</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02705">2705</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a59beca51265a304cf3a8e5fdff6a7212"></a><!-- doxytag: member="KImageEffect::shade" ref="a59beca51265a304cf3a8e5fdff6a7212" args="(QImage &amp;src, bool color_shading=true, double azimuth=30.0, double elevation=30.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::shade </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>color_shading</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>azimuth</em> = <code>30.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>elevation</em> = <code>30.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Shades the image using a distance light source. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">color_shading</td><td>If true do color shading, otherwise do grayscale. </td></tr>
    <tr><td class="paramname">azimuth</td><td>Determines the light source and direction. </td></tr>
    <tr><td class="paramname">elevation</td><td>Determines the light source and direction. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The shaded image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04476">4476</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="addbb40520e02a423dd94e5e198f490a8"></a><!-- doxytag: member="KImageEffect::sharpen" ref="addbb40520e02a423dd94e5e198f490a8" args="(QImage &amp;src, double factor=30.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::sharpen </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em> = <code>30.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is provided for binary compatability only! Use the above method instead! </p>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04430">4430</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa738a101c2c6509b9aa105b41b3d0f57"></a><!-- doxytag: member="KImageEffect::sharpen" ref="aa738a101c2c6509b9aa105b41b3d0f57" args="(QImage &amp;src, double radius, double sigma)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::sharpen </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sigma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sharpens the pixels in the image using pixel neighborhoods. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the gaussian not counting the center pixel. Use 0 and a suitable radius will be automatically used. </td></tr>
    <tr><td class="paramname">sigma</td><td>The standard deviation of the gaussian. Use 1 if you're not sure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The sharpened image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l04436">4436</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af1121a5b5f266645235867fa4fe7d26b"></a><!-- doxytag: member="KImageEffect::solarize" ref="af1121a5b5f266645235867fa4fe7d26b" args="(QImage &amp;img, double factor=50.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::solarize </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>factor</em> = <code>50.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Produces a 'solarization' effect seen when exposing a photographic film to light during the development process. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">factor</td><td>The extent of the solarization (0-99.9) </td></tr>
  </table>
  </dd>
</dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03421">3421</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad08b51e2b9d0c3995389a2a379ea46bc"></a><!-- doxytag: member="KImageEffect::spread" ref="ad08b51e2b9d0c3995389a2a379ea46bc" args="(QImage &amp;src, unsigned int amount=3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::spread </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>amount</em> = <code>3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Randomly displaces pixels. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">amount</td><td>The vicinity for choosing a random pixel to swap. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The image with pixels displaced. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03444">3444</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad1546aa85db4f0699decdb16fb0a6ecf"></a><!-- doxytag: member="KImageEffect::swirl" ref="ad1546aa85db4f0699decdb16fb0a6ecf" args="(QImage &amp;src, double degrees=50.0, unsigned int background=0xFFFFFFFF)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::swirl </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>degrees</em> = <code>50.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>background</em> = <code>0xFFFFFFFF</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Swirls the image by a specified amount. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">degrees</td><td>The tightness of the swirl. </td></tr>
    <tr><td class="paramname">background</td><td>An RGBA value to use for the background. After the effect some pixels may be "empty". This value is used for those pixels. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The swirled image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03495">3495</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1accfe84c4fb7ef62c32850254e2d77e"></a><!-- doxytag: member="KImageEffect::threshold" ref="a1accfe84c4fb7ef62c32850254e2d77e" args="(QImage &amp;img, unsigned int value=128)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KImageEffect::threshold </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>value</em> = <code>128</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Thresholds the reference image. </p>
<p>You can also threshold images by using ThresholdDither in the various QPixmap/QImage convert methods, but this lets you specify a threshold value.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">value</td><td>The threshold value. </td></tr>
  </table>
  </dd>
</dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02810">2810</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a84c6b5464eb3e5f23742386770dda0cb"></a><!-- doxytag: member="KImageEffect::toGray" ref="a84c6b5464eb3e5f23742386770dda0cb" args="(QImage &amp;image, bool fast=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> &amp; KImageEffect::toGray </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fast</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Convert an image to grayscale. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">fast</td><td>Set to <code>true</code> in order to use a faster but non-photographic quality algorithm. Appropriate for things such as toolbar icons. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Returns the image(), provided for convenience. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l02126">2126</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abed1d6be036886e9137ba218c548da78"></a><!-- doxytag: member="KImageEffect::unbalancedGradient" ref="abed1d6be036886e9137ba218c548da78" args="(const QSize &amp;size, const QColor &amp;ca, const QColor &amp;cb, GradientType type, int xfactor=100, int yfactor=100, int ncols=3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::unbalancedGradient </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qsize.html">QSize</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>ca</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="qcolor.html">QColor</a> &amp;&#160;</td>
          <td class="paramname"><em>cb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKImageEffect.html#a5dd7fcdf794dd35c23082a1f5327cb74">GradientType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xfactor</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yfactor</em> = <code>100</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ncols</em> = <code>3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create an unbalanced gradient. </p>
<p>An unbalanced gradient is a gradient where the transition from color a to color b is not linear, but in this case, exponential.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>The desired size of the gradient. </td></tr>
    <tr><td class="paramname">ca</td><td>Color a </td></tr>
    <tr><td class="paramname">cb</td><td>Color b </td></tr>
    <tr><td class="paramname">type</td><td>The type of gradient. </td></tr>
    <tr><td class="paramname">xfactor</td><td>The x decay length. Use a value between -200 and 200. </td></tr>
    <tr><td class="paramname">yfactor</td><td>The y decay length. </td></tr>
    <tr><td class="paramname">ncols</td><td>The number of colors. See <a class="el" href="classKImageEffect.html" title="This class includes various QImage based graphical effects.">KImageEffect</a>:gradient. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l00388">388</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae744abbbcbfd2ed87b091815ef259ede"></a><!-- doxytag: member="KImageEffect::wave" ref="ae744abbbcbfd2ed87b091815ef259ede" args="(QImage &amp;src, double amplitude=25.0, double frequency=150.0, unsigned int background=0xFFFFFFFF)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qimage.html">QImage</a> KImageEffect::wave </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qimage.html">QImage</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>amplitude</em> = <code>25.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frequency</em> = <code>150.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>background</em> = <code>0xFFFFFFFF</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Modifies the pixels along a sine wave. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>The <a class="elRef" href="qimage.html">QImage</a> to process. </td></tr>
    <tr><td class="paramname">amplitude</td><td>The amplitude of the sine wave. </td></tr>
    <tr><td class="paramname">frequency</td><td>The frequency of the sine wave. </td></tr>
    <tr><td class="paramname">background</td><td>An RGBA value to use for the background. After the effect some pixels may be "empty". This value is used for those pixels. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The new image. The original is not changed. </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd>Daniel M. Duley (mosfet) </dd></dl>

<p>Definition at line <a class="el" href="kimageeffect_8cpp_source.html#l03573">3573</a> of file <a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kimageeffect_8h_source.html">kimageeffect.h</a></li>
<li><a class="el" href="kimageeffect_8cpp_source.html">kimageeffect.cpp</a></li>
</ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kdefx</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKCPUInfo.html">kcpuinfo</option>,  <option value="classKImageEffect.html">kimageeffect</option>,  <option value="classKPixmap.html">kpixmap</option>,  <option value="classKPixmapEffect.html">kpixmapeffect</option>,  <option value="classKPixmapSplitter.html">kpixmapsplitter</option>,  <option value="classKStyle.html">kstyle</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>