parent
c878a25310
commit
38b6e2f570
|
@ -29,7 +29,7 @@ provide a good acceleration mechanism.
|
|||
</p>
|
||||
<p class="contenttitle"><img alt="" src="img/ruler.gif"></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
|
||||
or blending and scaling them onto other images, software anti-aliased
|
||||
truetype fonts and other goodies. This one is pretty much done and finished
|
||||
|
|
|
@ -1,45 +1,38 @@
|
|||
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||
<html>
|
||||
<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">
|
||||
@top@
|
||||
@start@
|
||||
|
||||
<center>
|
||||
<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" >
|
||||
<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 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
|
||||
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 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 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
|
||||
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
|
||||
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 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>
|
||||
</table></center>
|
||||
|
||||
<br>
|
||||
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
|
||||
<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 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
|
||||
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 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 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
|
||||
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>
|
||||
</td>
|
||||
|
||||
<td><img SRC="blank.gif" height=1 width=1></td>
|
||||
<td><img SRC="img/blank.gif" height=1 width=1></td>
|
||||
</tr>
|
||||
|
||||
<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>
|
||||
</table></center>
|
||||
|
||||
<br>
|
||||
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
|
||||
<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 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
|
||||
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 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 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
|
||||
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>
|
||||
</td>
|
||||
|
||||
<td><img SRC="blank.gif" height=1 width=1></td>
|
||||
<td><img SRC="img/blank.gif" height=1 width=1></td>
|
||||
</tr>
|
||||
|
||||
<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>
|
||||
</table></center>
|
||||
|
||||
<br>
|
||||
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
|
||||
<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 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
|
||||
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 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 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
|
||||
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>
|
||||
</td>
|
||||
|
||||
<td><img SRC="blank.gif" height=1 width=1></td>
|
||||
<td><img SRC="img/blank.gif" height=1 width=1></td>
|
||||
</tr>
|
||||
|
||||
<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>
|
||||
</table></center>
|
||||
|
||||
<br>
|
||||
<center><table BORDER=0 CELLSPACING=0 WIDTH="95%" BGCOLOR="#666666" NOSAVE ROWS="5" >
|
||||
<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 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
|
||||
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 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 NOSAVE>
|
||||
<td>
|
||||
<pre><img SRC="blank.gif" height=1 width=1></pre>
|
||||
<pre><img SRC="img/blank.gif" height=1 width=1></pre>
|
||||
</td>
|
||||
|
||||
<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><img SRC="blank.gif" height=1 width=1></td>
|
||||
<td><img SRC="img/blank.gif" height=1 width=1></td>
|
||||
</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>
|
||||
</table></center>
|
||||
@end@
|
||||
@bottom@
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue