File: apa.html

package info (click to toggle)
gtk%2B2.0 2.20.1-2%2Bdeb6u2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 136,284 kB
  • ctags: 66,487
  • sloc: ansic: 590,318; sh: 10,559; makefile: 5,573; xml: 1,357; python: 866; perl: 776; asm: 457; awk: 72; cpp: 34
file content (66 lines) | stat: -rw-r--r-- 3,449 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Appendix A. Porting applications from Imlib to gdk-pixbuf</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GDK-PixBuf Reference Manual">
<link rel="up" href="index.html" title="GDK-PixBuf Reference Manual">
<link rel="prev" href="api-index-2-14.html" title="Index of new symbols in 2.14">
<link rel="next" href="apas02.html" title="Differences between Imlib and gdk-pixbuf">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="api-index-2-14.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td> </td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GDK-PixBuf Reference Manual</th>
<td><a accesskey="n" href="apas02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="appendix" title="Appendix A. Porting applications from Imlib to gdk-pixbuf">
<div class="titlepage"><div><div><h2 class="title">
<a name="id479230"></a>Appendix A. Porting applications from <span class="application">Imlib</span> to <span class="application">gdk-pixbuf</span>
</h2></div></div></div>
<p>
      This appendix contains the basic steps needed to port an
      application that uses the <span class="application">Imlib</span> library to use <span class="application">gdk-pixbuf</span>
      instead.
    </p>
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
	This appendix refers to version 1 of the <span class="application">Imlib</span> library; this
	discussion is not relevant to Imlib 2.  Also, we discuss the
	gdk_imlib API instead of the Xlib-based API.
      </p>
</div>
<div class="sect1" title="Introduction">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id436034"></a>Introduction</h2></div></div></div>
<p>
	Prior to the GNOME 1.2 platform, the <span class="application">Imlib</span> library was the
	preferred way of loading and rendering images in GNOME
	applications.  Unfortunately, <span class="application">Imlib</span> has important design
	limitations that make it hard to write efficient and highly
	modular applications.
      </p>
<p>
	The <span class="application">gdk-pixbuf</span> library was designed as a solution to
	<span class="application">Imlib</span>'s shortcomings.  It provides a simple, orthogonal API
	and convenience functions for the most common operations.  In
	addition, it supports full transparency information for
	images, or alpha channel.  More importantly, it has
	well-defined semantics for memory management through the use
	of reference counting; <span class="application">Imlib</span> has an intractably complex
	memory management mechanism and cache that will make your head
	spin.
      </p>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>