~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-23 09:50:04 UTC
  • mfrom: (1.5.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20090923095004-e9xauadn4bjs5n7m
Tags: upstream-2.18.0
ImportĀ upstreamĀ versionĀ 2.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
</tr></table>
35
35
<div class="sect1" title="Converting Applications to gdk-pixbuf">
36
36
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
37
 
<a name="id423337"></a>Converting Applications to <span class="application">gdk-pixbuf</span>
 
37
<a name="id592231"></a>Converting Applications to <span class="application">gdk-pixbuf</span>
38
38
</h2></div></div></div>
39
39
<p>
40
40
        This sections describes the actual changes you need to make in
42
42
      </p>
43
43
<div class="sect2" title="Image loading and creation">
44
44
<div class="titlepage"><div><div><h3 class="title">
45
 
<a name="id423366"></a>Image loading and creation</h3></div></div></div>
 
45
<a name="id592260"></a>Image loading and creation</h3></div></div></div>
46
46
<p>
47
47
          The <span class="application">gdk-pixbuf</span> library can load image files synchronously
48
48
          (i.e. with a single function call), create images from RGB
85
85
</div>
86
86
<div class="sect2" title="Rendering Images">
87
87
<div class="titlepage"><div><div><h3 class="title">
88
 
<a name="id422186"></a>Rendering Images</h3></div></div></div>
 
88
<a name="id594915"></a>Rendering Images</h3></div></div></div>
89
89
<p>
90
90
          Applications that use <span class="application">Imlib</span> must first call
91
91
          <code class="function">gdk_imlib_render()</code> to render the whole
114
114
</div>
115
115
<div class="sect2" title="Scaling Images">
116
116
<div class="titlepage"><div><div><h3 class="title">
117
 
<a name="id422254"></a>Scaling Images</h3></div></div></div>
 
117
<a name="id596560"></a>Scaling Images</h3></div></div></div>
118
118
<p>
119
119
          <span class="application">Imlib</span> lets you render scaled image data at the time you
120
120
          call <code class="function">gdk_imlib_render()</code>.  Again, this
127
127
          one.  These functions can also perform compositing
128
128
          operations against the data in the destination pixbuf or
129
129
          against a solid color or a colored checkerboard.
130
 
          <sup>[<a name="id419949" href="#ftn.id419949" class="footnote">1</a>]</sup>
 
130
          <sup>[<a name="id596593" href="#ftn.id596593" class="footnote">1</a>]</sup>
131
131
        </p>
132
132
<p>
133
133
          Very simple applications may find it sufficient to use
148
148
</div>
149
149
<div class="sect2" title="Getting Image Data from a Drawable">
150
150
<div class="titlepage"><div><div><h3 class="title">
151
 
<a name="id420008"></a>Getting Image Data from a Drawable</h3></div></div></div>
 
151
<a name="id596652"></a>Getting Image Data from a Drawable</h3></div></div></div>
152
152
<p>
153
153
          <span class="application">Imlib</span> lets you create an image by fetching a drawable's
154
154
          contents from the X server and converting those into RGB
166
166
<div class="footnotes">
167
167
<br><hr width="100" align="left">
168
168
<div class="footnote">
169
 
<p><sup>[<a name="ftn.id419949" href="#id419949" class="para">1</a>] </sup>
 
169
<p><sup>[<a name="ftn.id596593" href="#id596593" class="para">1</a>] </sup>
170
170
              You can use a colored checkerboard as the background for
171
171
              compositing when you want to provide a visual indication
172
172
              that the image has partially opaque areas.  This is