1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SWF::FilterMatrix - SWF FilterMatrix class</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:feedback@suse.de" />
</head>
<body style="background-color: white">
<!-- INDEX BEGIN -->
<div name="index">
<p><a name="__index__"></a></p>
<ul>
<li><a href="#name">NAME</a></li>
<li><a href="#synopsis">SYNOPSIS</a></li>
<li><a href="#description">DESCRIPTION</a></li>
<li><a href="#methods">METHODS</a></li>
<li><a href="#author">AUTHOR</a></li>
<li><a href="#see_also">SEE ALSO</a></li>
</ul>
<hr name="index" />
</div>
<!-- INDEX END -->
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>SWF::FilterMatrix - SWF FilterMatrix class</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
use SWF::FilterMatrix;
$valueref = [ 0.5, 0.4, 0.3, 0, 0,
0.5, 0.4, 0.3, 0, 0,
0.5, 0.4, 0.3, 0, 0,
0, 0, 0, 1, 0 ];
$filtermatrix = new SWF::FilterMatrix( 5, 4, $valueref );
$filter = SWF::Filter::newColorMatrixFilter( $filtermatrix );</pre>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>SWF::FilterMatrix is a helper class useful for construction
of some SWF::Filter objects: ColorMatrix filter and Convolution filter.</p>
<p>
</p>
<hr />
<h1><a name="methods">METHODS</a></h1>
<dl>
<dt><strong><a name="filtermatrix" class="item">new SWF::FilterMatrix($cols, $rows, $valueref)</a></strong>
<dd>
<p>The only method is a constructor for creation of
a FilterMatrix object. The object is controlled by
the matrix data dimensions (cols * rows) and the
data values: a reference to an array of float values.
Note: constructing ColorMatrixFilter needs a 5*4 matrix.</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<pre>
developers of
ming.sourceforge.net</pre>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p>SWF, SWF::Filter, SWF::Blur, SWF::Shadow</p>
</body>
</html>
|