~ubuntu-branches/debian/experimental/gtk+2.0/experimental

« back to all changes in this revision

Viewing changes to docs/reference/gdk-pixbuf/html/apas02.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-09-17 11:15:05 UTC
  • mto: (72.1.1 lenny) (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: james.westby@ubuntu.com-20070917111505-giz9c5xltxkb5y54
Tags: upstream-2.12.0
ImportĀ upstreamĀ versionĀ 2.12.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>Differences between Imlib and gdk-pixbuf</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="The gdk-pixbuf Library">
8
8
<link rel="up" href="apa.html" title="Appendix&#160;A.&#160;Porting applications from Imlib to gdk-pixbuf">
9
9
<link rel="prev" href="apa.html" title="Appendix&#160;A.&#160;Porting applications from Imlib to gdk-pixbuf">
10
10
<link rel="next" href="apas03.html" title="Converting Applications to gdk-pixbuf">
11
 
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="reference" href="rn01.html" title="API Reference">
14
14
<link rel="reference" href="rn02.html" title="Tools Reference">
31
31
</tr></table>
32
32
<div class="sect1" lang="en">
33
33
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
34
 
<a name="id3049293"></a>Differences between <span class="application">Imlib</span> and <span class="application">gdk-pixbuf</span>
 
34
<a name="id2928536"></a>Differences between <span class="application">Imlib</span> and <span class="application">gdk-pixbuf</span>
35
35
</h2></div></div></div>
36
36
<p>
37
37
        Generally, applications that use <span class="application">Imlib</span> do not have to be
43
43
      </p>
44
44
<div class="sect2" lang="en">
45
45
<div class="titlepage"><div><div><h3 class="title">
46
 
<a name="id3049350"></a>Initialization</h3></div></div></div>
 
46
<a name="id2928592"></a>Initialization</h3></div></div></div>
47
47
<p>
48
48
          The <span class="application">gdk-pixbuf</span> library does not need to be initialized.
49
49
        </p>
58
58
</div>
59
59
<div class="sect2" lang="en">
60
60
<div class="titlepage"><div><div><h3 class="title">
61
 
<a name="id3049400"></a>Memory management</h3></div></div></div>
 
61
<a name="id2928642"></a>Memory management</h3></div></div></div>
62
62
<p>
63
63
          The <span class="application">gdk-pixbuf</span> library provides a simple, well-defined
64
64
          memory management mechanism for images in the form of
73
73
        </p>
74
74
<p>
75
75
          The basic principle in <span class="application">gdk-pixbuf</span> is that when you obtain
76
 
          a new <a href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf">GdkPixbuf</a> structure,
 
76
          a new <a class="link" href="gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf">GdkPixbuf</a> structure,
77
77
          it is created with an initial reference count of 1.  When
78
78
          another part of the program wants to keep a reference to the
79
79
          pixbuf, it should call <code class="function">g_object_ref()</code>;
110
110
</div>
111
111
<div class="sect2" lang="en">
112
112
<div class="titlepage"><div><div><h3 class="title">
113
 
<a name="id3049522"></a>The Rendering Process</h3></div></div></div>
 
113
<a name="id2928764"></a>The Rendering Process</h3></div></div></div>
114
114
<p>
115
115
          The <span class="application">gdk-pixbuf</span> library has the policy of always rendering
116
116
          pixbufs to GDK drawables you provide; it will not create