Location: PHPKode > projects > NOLA > includes/pc4p/apidoc/pc4p_image.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Generated with PHPDoc, http://www.phpdoc.de -->
<html>
<head>
	<title>PC4P - pc4p - Class: pc4p_image</title>
	<link href="phpdoc.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0">
	<tr>
		<td align="left" valign="top" bgcolor="#B0BAFF">			
			<table width="100%">
				<tr>
					<td align="left" valign="top"><a href="phpdoc_packagelist.html">Packageindex</a></td>
					<td align="left" valign="top"><a href="phpdoc_classtree.html">Classtrees</a></td>
					<td align="left" valign="top"><a href="phpdoc_modulegroup.html">Modulegroups</a></td>
					<td align="left" valign="top"><a href="phpdoc_elementlist.html">Elementlist</a></td>
					<td align="left" valign="top"><a href="phpdoc_warnings.html">Report</a></td>
					<td align="left" valign="top"><a href="phpdoc_xmlfiles.html">XML Files</a></td>
				</tr>
			</table>	
		</td>
	</tr>
	<tr>	
		<td height="20" align="left" valign="top"><hr></td>
	</tr>
	<tr>
		<td align="left" valign="top">			
			File: <a href="file:///data/customers/alex/htdocs/include/pc4p_image.inc" target="_new">/data/customers/alex/htdocs/include/pc4p_image.inc</a>
			<h5>PC4P - pc4p</h5>
			<h1>pc4p_image</h1>
			<a href="pc4p_object.html">pc4p_object</a><br>&nbsp;&nbsp; |<br>&nbsp;&nbsp;+-- pc4p_image<br>
			<p>
			Image-Object provides functionality for adding Images to the page
			<p>
			&nbsp;
		</td>
	</tr>
	<tr>
		<td align="left" valign="top">
			<h4>private    class pc4p_image extends <a href="pc4p_object.html">pc4p_object</a></h4>
			Image-Object provides functionality for adding Images to the page
			<br>
			
			<p>
			<table>
				
				
				<tr><td align="left" valign="top">Authors</td><td align="left" valign="top">Alexander Wirtz &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td></tr>
				
				
				
				
				
			</table>
		</td>
	</tr>
	<tr>
		<td height="10" align="left" valign="top">&nbsp;</td>
	</tr>
	
	<tr>
		<td height="20" align="left" valign="top"><hr></td>
	</tr>
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td align="left" valign="top"><h3>Methods inherited from pc4p_object</h3></td>
				</tr>
				<tr>
					<td align="left" valign="top"><a href="pc4p_object.html#function_pc4p_object">pc4p_object</a>, <a href="pc4p_object.html#function_pc4p_set_margin">pc4p_set_margin</a>, <a href="pc4p_object.html#function_pc4p_set_width">pc4p_set_width</a>, <a href="pc4p_object.html#function_pc4p_set_alignment">pc4p_set_alignment</a>, <a href="pc4p_object.html#function_pc4p_set_textleading">pc4p_set_textleading</a>, <a href="pc4p_object.html#function_pc4p_draw_children">pc4p_draw_children</a></td>
				</tr>
			</table>
		</td>
	</tr>
	
	
	<tr>
		<td align="left" valign="top">		
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Public Method Summary</h2></td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_pc4p_image()"><h4>pc4p_image(object pc4p_page &$parent)</h4></a>Constructor</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_pc4p_set_imagescale()"><h4>pc4p_set_imagescale(float $scale)</h4></a>Sets the imagescale for this object.</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_pc4p_set_image()"><h4>pc4p_set_image(string $image)</h4></a>Sets the image for this object.</td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	<tr>
		<td align="left" valign="top">		
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Method Summary</h2></td>
				</tr>
				
				<tr>
					<td align="right" valign="top">void</td>
					<td align="left" valign="top" width="100%"><a href="#function_pc4p_draw()"><h4>pc4p_draw()</h4></a>Calls the pc4p_draw_childrenWarning: documentation is missing.</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">integer</td>
					<td align="left" valign="top" width="100%"><a href="#function_pc4p_calc_offset()"><h4>pc4p_calc_offset(object pc4p_page &$parent)</h4></a>Calculates the stringwidth for the current text and font in theWarning: documentation is missing.</td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td align="left" valign="top"><h3>Fields inherited from pc4p_object</h3></td>
				</tr>
				<tr>
					<td align="left" valign="top"><a href="pc4p_object.html#variable_$children">$children</a>, <a href="pc4p_object.html#variable_$pdfp">$pdfp</a>, <a href="pc4p_object.html#variable_$width">$width</a>, <a href="pc4p_object.html#variable_$height">$height</a>, <a href="pc4p_object.html#variable_$act_width">$act_width</a>, <a href="pc4p_object.html#variable_$act_height">$act_height</a>, <a href="pc4p_object.html#variable_$draw_height">$draw_height</a>, <a href="pc4p_object.html#variable_$alignment">$alignment</a>, <a href="pc4p_object.html#variable_$leading">$leading</a></td>
				</tr>
			</table>
		</td>
	</tr>
	
	
	<tr>
		<td align="left" valign="top">		
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Field Summary</h2></td>
				</tr>
				
				<tr>
					<td align="right" valign="top">array</td>
					<td align="left" valign="top" width="100%"><a href="#variable_$margin"><h4>$margin</h4></a>Margins for this image</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">integer</td>
					<td align="left" valign="top" width="100%"><a href="#variable_$pim"><h4>$pim</h4></a>Pointer to the image</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">string</td>
					<td align="left" valign="top" width="100%"><a href="#variable_$imgfile"><h4>$imgfile</h4></a>Name of the image</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">string</td>
					<td align="left" valign="top" width="100%"><a href="#variable_$imgtype"><h4>$imgtype</h4></a>Type of the image</td>
				</tr>
				
				<tr>
					<td align="right" valign="top">float</td>
					<td align="left" valign="top" width="100%"><a href="#variable_$imgscale"><h4>$imgscale</h4></a>Scale of the image</td>
				</tr>
				
			</table>
		</td>
	</tr>
	
	
	
	
	
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Public Method Details</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_pc4p_image()"><h4>pc4p_image</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>public    void pc4p_image( object pc4p_page &$parent )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						Constructor
						<br>
						
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">object pc4p_page</td>
								<td align="left" valign="top">&$parent</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top"></td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td align="left" valign="top">Author(s)</td>
					<td align="left" valign="top">Alexander Wirtz &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_pc4p_set_imagescale()"><h4>pc4p_set_imagescale</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>public    void pc4p_set_imagescale( float $scale )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						Sets the imagescale for this object.
						<br>
						
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">float</td>
								<td align="left" valign="top">$scale</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top"></td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td align="left" valign="top">Author(s)</td>
					<td align="left" valign="top">Alexander Wirtz &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_pc4p_set_image()"><h4>pc4p_set_image</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>public    void pc4p_set_image( string $image )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						Sets the image for this object.
						<br>
						
						<p>
						
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">string</td>
								<td align="left" valign="top">$image</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top"></td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td align="left" valign="top">Author(s)</td>
					<td align="left" valign="top">Alexander Wirtz &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Method Details</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_pc4p_draw()"><h4>pc4p_draw</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    void pc4p_draw(  )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						Calls the pc4p_draw_children
						<br>
						
						<p>
						Warning: documentation is missing.
					</td>
				</tr>
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>void <p></td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td align="left" valign="top">Author(s)</td>
					<td align="left" valign="top">Alexander Wirtz &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="function_pc4p_calc_offset()"><h4>pc4p_calc_offset</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private    integer pc4p_calc_offset( object pc4p_page &$parent )</b><p>
					</td>
				</tr>
				<tr>
					<td width="10" align="left" valign="top">&nbsp;</td>
					<td align="left" valign="top">
						Calculates the stringwidth for the current text and font in the
						<br>
						object and applies linefeed where necessary. Returns the sizefor the complete object.
						<p>
						Warning: documentation is missing.
					</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top">Parameter</td>
				</tr>
				
				<tr>
					<td></td>
					<td align="left" valign="top">						
						<table>
							<tr>
								<td align="left" valign="top">object pc4p_page</td>
								<td align="left" valign="top">&$parent</td>
								<td align="left" valign="top"><code></code></td>
							</tr>
							<tr>
								<td></td>
								<td colspan="2" align="left" valign="top"></td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr>
					<td align="left" valign="top">Returns</td>
					<td>integer $this<p> -&gt;height</td>
				</tr>
				
				
				
				
				
				
				
				
				
				
				
				
				<tr>
					<td align="left" valign="top">Author(s)</td>
					<td align="left" valign="top">Alexander Wirtz &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</td>
				</tr>
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
		
	
	<tr>
		<td align="left" valign="top">
			<table width="100%" border="0">
				<tr>
					<td colspan="2" align="left" valign="top"><h2>Private Field Details</h2></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="variable_$margin"><h4>$margin</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private   array $margin</b>
						<p>
						>><code>array( &quot;top&quot; =&gt; 0, &quot;bottom&quot; =&gt; 0, &quot;left&quot; =&gt; 0, &quot;right&quot; =&gt; 0 )</code><<
						<p>
						Margins for this image
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="variable_$pim"><h4>$pim</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private   integer $pim</b>
						<p>
						>><code></code><<
						<p>
						Pointer to the image
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="variable_$imgfile"><h4>$imgfile</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private   string $imgfile</b>
						<p>
						>><code></code><<
						<p>
						Name of the image
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="variable_$imgtype"><h4>$imgtype</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private   string $imgtype</b>
						<p>
						>><code></code><<
						<p>
						Type of the image
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
				<tr><td colspan="2" align="left" valign="top"><a name="variable_$imgscale"><h4>$imgscale</h4></a></td></tr>
				<tr>
					<td colspan="2" align="left" valign="top">
						<b>private   float $imgscale</b>
						<p>
						>><code>1</code><<
						<p>
						Scale of the image
						<br>
						
					</td>
				</tr>
				
				
				
				
				
				
				
				
				
				<tr>
					<td colspan="2" align="left" valign="top"><hr></td>
				</tr>
				
			</table>
	</tr>
		
	
	
	<tr>
		<td height="10" align="left" valign="top"><hr></td>
	</tr>
	<tr>
		<td align="left" valign="top" bgcolor="#C0C0C0">			
			<table>
				<tr>
					<td align="left" valign="top"><a href="phpdoc_packagelist.html">Packageindex</a></td>
					<td align="left" valign="top"><a href="phpdoc_classtree.html">Classtrees</a></td>
					<td align="left" valign="top"><a href="phpdoc_modulegroup.html">Modulegroups</a></td>
					<td align="left" valign="top"><a href="phpdoc_elementlist.html">Elementlist</a></td>
					<td align="left" valign="top"><a href="phpdoc_warnings.html">Report</a></td>
					<td align="left" valign="top"><a href="phpdoc_xmlfiles.html">XML Files</a></td>
				</tr>
			</table>	
		</td>
	</tr>
	<tr>
		<td align="left" valign="top">PHPDoc 1.0beta</td>
	</tr>
</table>

</body>
</html>
Return current item: NOLA