More imlib2 doc stuff........

SVN revision: 4881
This commit is contained in:
technikolor 2001-07-01 05:35:47 +00:00 committed by technikolor
parent c878a25310
commit 38b6e2f570
2 changed files with 71 additions and 78 deletions

View File

@ -29,7 +29,7 @@ provide a good acceleration mechanism.
</p> </p>
<p class="contenttitle"><img alt="" src="img/ruler.gif"></p> <p class="contenttitle"><img alt="" src="img/ruler.gif"></p>
<p> <p>
<a href=imlib2.html>Imlib2</a> is the abstraction layer that handles the <a href="imlib2.doc.html">Imlib2</a> is the abstraction layer that handles the
raw nasty work of loading images, saving them, rendering them to a drawable raw nasty work of loading images, saving them, rendering them to a drawable
or blending and scaling them onto other images, software anti-aliased or blending and scaling them onto other images, software anti-aliased
truetype fonts and other goodies. This one is pretty much done and finished truetype fonts and other goodies. This one is pretty much done and finished

View File

@ -1,45 +1,38 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> @top@
<html> @start@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.72 [en] (X11; U; Linux 2.2.16-3ext3 i686) [Netscape]">
<meta name="Author" content="The Rasterman & Lightman">
<title>Imlib 2 - Documentation.</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FFFF00">
<center> <center>
<h1> <h1>
<img SRC="imlib2.gif" ALT="Imlib2" height=128 width=256></h1></center> <img SRC="img/imlib2.gif" ALT="Imlib2" height=128 width=256></h1></center>
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" > <center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>What <td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>What
is it?</font></font></b></td> is it?</font></font></b></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
<td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>Imlib 2 is the successor <td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>Imlib 2 is the successor
to Imlib. It is NOT a newer version - it is a completely new library. Imlib to Imlib. It is NOT a newer version - it is a completely new library. Imlib
@ -132,47 +125,47 @@ you wish to display images.
<p>The interface is simple - once you get used to it, the functions do <p>The interface is simple - once you get used to it, the functions do
exactly what they say they do.</td> exactly what they say they do.</td>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
</table></center> </table></center>
<br>&nbsp; <br>&nbsp;
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" > <center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>A <td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>A
Simple Example</font></font></b></td> Simple Example</font></font></b></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
<td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>The best way to start <td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>The best way to start
is to show a simple example of an Imlib2 program. This one will load an is to show a simple example of an Imlib2 program. This one will load an
@ -220,47 +213,47 @@ You now have a program that if used as follows:
will convert image1.jpg into a png called image2.png. It is that simple.</blockquote> will convert image1.jpg into a png called image2.png. It is that simple.</blockquote>
</td> </td>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
</table></center> </table></center>
<br>&nbsp; <br>&nbsp;
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" > <center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>How <td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>How
Image Loading Works</font></font></b></td> Image Loading Works</font></font></b></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
<td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>It is probably a <td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>It is probably a
good idea to discuss how Imlib2 actually loads an Image so the programmer good idea to discuss how Imlib2 actually loads an Image so the programmer
@ -372,47 +365,47 @@ and </font><tt><font color="#000099">imlib_context_set_progress_granularity();
set this up.</font></blockquote> set this up.</font></blockquote>
</td> </td>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
</table></center> </table></center>
<br>&nbsp; <br>&nbsp;
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" > <center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>A <td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>A
more advanced Example</font></font></b></td> more advanced Example</font></font></b></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
<td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>This is a more comprehensive <td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>This is a more comprehensive
example that should show off a fair number of features of imlib2. The code example that should show off a fair number of features of imlib2. The code
@ -682,48 +675,48 @@ int main(int argc, char **argv)
</blockquote> </blockquote>
</td> </td>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
</table></center> </table></center>
<br>&nbsp; <br>&nbsp;
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" > <center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>API <td ALIGN=CENTER VALIGN=CENTER NOSAVE><b><font color="#FFFFFF"><font size=+2>API
Reference</font></font></b></td> Reference</font></font></b></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1" NOSAVE><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1" NOSAVE><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr NOSAVE> <tr NOSAVE>
<td> <td>
<pre><img SRC="blank.gif" height=1 width=1></pre> <pre><img SRC="img/blank.gif" height=1 width=1></pre>
</td> </td>
<td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>This is a list of <td VALIGN=TOP HEIGHT="100%" BGCOLOR="#CCCCCC" NOSAVE>This is a list of
@ -2287,17 +2280,17 @@ return type - Imlib_Image, this is the result of filter.
</td> </td>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
<tr> <tr>
<td WIDTH="1"><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1"><img SRC="img/blank.gif" height=1 width=1></td>
<td><img SRC="blank.gif" height=1 width=1></td> <td><img SRC="img/blank.gif" height=1 width=1></td>
<td WIDTH="1"><img SRC="blank.gif" height=1 width=1></td> <td WIDTH="1"><img SRC="img/blank.gif" height=1 width=1></td>
</tr> </tr>
</table></center> </table></center>
@end@
@bottom@
</body>
</html>