~nik90/ubuntu/precise/eog/keywords

« back to all changes in this revision

Viewing changes to doc/reference/html/eog-eog-thumbnail.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-07-26 15:28:21 UTC
  • mto: This revision was merged to the branch mainline in revision 116.
  • Revision ID: james.westby@ubuntu.com-20110726152821-g806mbptn727m1a5
Tags: upstream-3.1.4
Import upstream version 3.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
<a name="eog-eog-thumbnail.synopsis"></a><h2>Synopsis</h2>
40
40
<pre class="synopsis"><span class="returnvalue">void</span>                <a class="link" href="eog-eog-thumbnail.html#eog-thumbnail-init" title="eog_thumbnail_init ()">eog_thumbnail_init</a>                  (<em class="parameter"><code><span class="type">void</span></code></em>);
41
41
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="eog-eog-thumbnail.html#eog-thumbnail-fit-to-size" title="eog_thumbnail_fit_to_size ()">eog_thumbnail_fit_to_size</a>           (<em class="parameter"><code><span class="type">GdkPixbuf</span> *thumbnail</code></em>,
42
 
                                                         <em class="parameter"><code><span class="type">gint</span> dimension</code></em>);
 
42
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dimension</code></em>);
43
43
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="eog-eog-thumbnail.html#eog-thumbnail-add-frame" title="eog_thumbnail_add_frame ()">eog_thumbnail_add_frame</a>             (<em class="parameter"><code><span class="type">GdkPixbuf</span> *thumbnail</code></em>);
44
44
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="eog-eog-thumbnail.html#eog-thumbnail-load" title="eog_thumbnail_load ()">eog_thumbnail_load</a>                  (<em class="parameter"><code><a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a> *image</code></em>,
45
 
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
 
45
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
46
46
#define             <a class="link" href="eog-eog-thumbnail.html#EOG-THUMBNAIL-ORIGINAL-WIDTH:CAPS" title="EOG_THUMBNAIL_ORIGINAL_WIDTH">EOG_THUMBNAIL_ORIGINAL_WIDTH</a>
47
47
#define             <a class="link" href="eog-eog-thumbnail.html#EOG-THUMBNAIL-ORIGINAL-HEIGHT:CAPS" title="EOG_THUMBNAIL_ORIGINAL_HEIGHT">EOG_THUMBNAIL_ORIGINAL_HEIGHT</a>
48
48
</pre>
64
64
<div class="refsect2">
65
65
<a name="eog-thumbnail-fit-to-size"></a><h3>eog_thumbnail_fit_to_size ()</h3>
66
66
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         eog_thumbnail_fit_to_size           (<em class="parameter"><code><span class="type">GdkPixbuf</span> *thumbnail</code></em>,
67
 
                                                         <em class="parameter"><code><span class="type">gint</span> dimension</code></em>);</pre>
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dimension</code></em>);</pre>
68
68
<p>
69
69
Ensures a pixbuf fits a given <em class="parameter"><code>dimension</code></em>
70
70
</p>
115
115
<div class="refsect2">
116
116
<a name="eog-thumbnail-load"></a><h3>eog_thumbnail_load ()</h3>
117
117
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         eog_thumbnail_load                  (<em class="parameter"><code><a class="link" href="eog-eog-image.html#EogImage"><span class="type">EogImage</span></a> *image</code></em>,
118
 
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
 
118
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
119
119
<p>
120
 
Loads the thumbnail for <em class="parameter"><code>image</code></em>. In case of error, <a href="/opt/gnome-3.0/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned
 
120
Loads the thumbnail for <em class="parameter"><code>image</code></em>. In case of error, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned
121
121
and <em class="parameter"><code>error</code></em> is set.
122
122
</p>
123
123
<div class="variablelist"><table border="0">
130
130
</tr>
131
131
<tr>
132
132
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
133
 
<td>location to store the error ocurring or <a href="/opt/gnome-3.0/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> to ignore</td>
 
133
<td>location to store the error ocurring or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore</td>
134
134
</tr>
135
135
<tr>
136
136
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
137
137
<td>a new <span class="type">GdkPixbuf</span> with the thumbnail for
138
 
<em class="parameter"><code>image</code></em> or <a href="/opt/gnome-3.0/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> in case of error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
138
<em class="parameter"><code>image</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
139
139
</td>
140
140
</tr>
141
141
</tbody>