Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ed05dc5f357c49fdded780f52b150dce > files > 48

ploticus-2.41-2mdv2010.0.i586.rpm

<html>
<head>
<!-- This file has been generated by unroff 1.0, 11/12/07 15:40:48. -->
<!-- Do not edit! -->
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>ploticus: proc import</title>
<body bgcolor=D0D0EE vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550><tr>
<td>
  <table cellpadding=2 width=550><tr>
  <td><br><h2>proc import</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.33 Jun'06
     </small><br><a href="../doc/scripthome.html">Scripts</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>

<title>Manual page for proc_import(PL)</title>
</head>
<body>


<p>
<b>proc import</b> allows an external image file (containing a logo for example) to be integrated with 
the ploticus result.  

<br><br>

<b>If you are producing PNG/GIF/JPG output</b>, the image is imported by ploticus and 
integrated into the output result.  The import image type <b>must</b> be the same as your result image type.<tt> </tt>

<br><br>
<b>If you are producing SVG</b>, ploticus simply adds a filename link to the svg output, and
the image will be loaded when the SVG is viewed (so it is not really an "import" operation).  Presumably, images of 
any type (PNG/GIF/JPG) can be viewed this way.  The <tt>width</tt> and <tt>height</tt> of the image should be 
specified so that alignment can be executed correctly.  The <tt>scale</tt> and <tt>format</tt> attributes have no effect in SVG.<tt> </tt>

<br><br>

<h2>Attributes</h2>
The <tt>file</tt> and <tt>location</tt> attributes <b>must</b> be supplied.<tt> </tt>

<br><br>

<p>
<b>file</b> 
&nbsp; &nbsp;
<i>name</i>
<dl>
<dt> <dd>
The filename of the image to import, including the filename extension.<tt> </tt>
With PNG/GIF/JPG this filename should be specified relative to the working directory that ploticus is running in.<tt> </tt>
With SVG, the image file will be loaded when the svg is viewed... it seems like the file location will be interpreted 
as relative to the .svg file (but it needs to be a pathname.. URLs don't seem to work).<tt> </tt>


<br><br>

</dl>
<p>
<b>location</b>  
&nbsp; &nbsp;
<a href="attributetypes.html#xy">
  x y 
</a>
<dl>
<dt> <dd>
Determines where the imported image should be placed (see also <tt>align</tt> below).<tt> </tt>

<br><br>

</dl>
<p>
<b>align</b>  
&nbsp; &nbsp;
<tt>topcenter | center | topleft | bottomleft</tt>
<dl>
<dt> <dd>
Alignment of image relative to <tt>location</tt>.<tt> </tt>
Default is <tt>topcenter</tt>.<tt> </tt>
<dt><dd><p>
<tt>topcenter</tt> positions the imported image with its top-center at <i>x, y</i>
<br>
<tt>center</tt> centers the image around <i>x, y</i> horizontally and vertically;
<br>
<tt>topleft</tt> positions the image with its top left at <i>x, y</i>;
<br>
<tt>bottomleft</tt> positions the image with its bottom left at <i>x, y</i>.<tt> </tt>

<br><br>

</dl>
<p>
<b>width</b>
&nbsp; &nbsp;
npixels
<dl>
<dt> <dd>
width of the imported image in pixels.  Required only when rendering in SVG.<tt> </tt>

<br><br>

</dl>
<p>
<b>height</b>
&nbsp; &nbsp;
npixels
<dl>
<dt> <dd>
height of the imported image in pixels.  Required only when rendering in SVG.<tt> </tt>

<br><br>

</dl>
<p>
<b>scale</b>  
&nbsp; &nbsp;
<i>s</i>
<dl>
<dt> <dd>
Scale factor to apply when rendering the image.  <tt>1.0</tt>
results in the original size; smaller values reduce the size;
larger values increase the size.  Has no effect when rendering in SVG.<tt> </tt>


<br>
<br>
</td></tr>
<td align=right>
<a href="../doc/welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine &nbsp; <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif"> 
</center>
</td></tr>
</table>
<br>
<center>
Ploticus is hosted at http://ploticus.sourceforge.net <br>
<img src="http://sourceforge.net/sflogo.php?group_id=38453" width="88" height="31" border="0" alt="SourceForge Logo">
</center>
</dl>
<p><hr>
Markup created by <em>unroff</em> 1.0,&#160;<tt> </tt>&#160;<tt> </tt>November 12, 2007.
</body>
</html>