~ubuntu-branches/ubuntu/oneiric/eog/oneiric-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Rodrigo Moya
  • Date: 2011-09-20 10:48:32 UTC
  • mfrom: (1.14.22 upstream)
  • Revision ID: package-import@ubuntu.com-20110920104832-wihbvvomt8ea29hc
Tags: 3.1.92-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch06.html" title="Utilities">
9
9
<link rel="prev" href="eog-eog-pixbuf-util.html" title="eog-pixbuf-util">
10
10
<link rel="next" href="ch07.html" title="Asynchronous jobs">
11
 
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
37
37
</tr></table></div>
38
38
<div class="refsynopsisdiv">
39
39
<a name="eog-zoom.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis"><span class="returnvalue">void</span>                <a class="link" href="eog-zoom.html#zoom-fit-size" title="zoom_fit_size ()">zoom_fit_size</a>                       (<em class="parameter"><code><span class="type">guint</span> dest_width</code></em>,
41
 
                                                         <em class="parameter"><code><span class="type">guint</span> dest_height</code></em>,
42
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_width</code></em>,
43
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_height</code></em>,
44
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> upscale_smaller</code></em>,
45
 
                                                         <em class="parameter"><code><span class="type">guint</span> *width</code></em>,
46
 
                                                         <em class="parameter"><code><span class="type">guint</span> *height</code></em>);
47
 
<span class="returnvalue">double</span>              <a class="link" href="eog-zoom.html#zoom-fit-scale" title="zoom_fit_scale ()">zoom_fit_scale</a>                      (<em class="parameter"><code><span class="type">guint</span> dest_width</code></em>,
48
 
                                                         <em class="parameter"><code><span class="type">guint</span> dest_height</code></em>,
49
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_width</code></em>,
50
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_height</code></em>,
51
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> upscale_smaller</code></em>);
 
40
<pre class="synopsis"><span class="returnvalue">void</span>                <a class="link" href="eog-zoom.html#zoom-fit-size" title="zoom_fit_size ()">zoom_fit_size</a>                       (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_width</code></em>,
 
41
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_height</code></em>,
 
42
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_width</code></em>,
 
43
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_height</code></em>,
 
44
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> upscale_smaller</code></em>,
 
45
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
 
46
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);
 
47
<span class="returnvalue">double</span>              <a class="link" href="eog-zoom.html#zoom-fit-scale" title="zoom_fit_scale ()">zoom_fit_scale</a>                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_width</code></em>,
 
48
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_height</code></em>,
 
49
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_width</code></em>,
 
50
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_height</code></em>,
 
51
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> upscale_smaller</code></em>);
52
52
</pre>
53
53
</div>
54
54
<div class="refsect1">
60
60
<a name="eog-zoom.details"></a><h2>Details</h2>
61
61
<div class="refsect2">
62
62
<a name="zoom-fit-size"></a><h3>zoom_fit_size ()</h3>
63
 
<pre class="programlisting"><span class="returnvalue">void</span>                zoom_fit_size                       (<em class="parameter"><code><span class="type">guint</span> dest_width</code></em>,
64
 
                                                         <em class="parameter"><code><span class="type">guint</span> dest_height</code></em>,
65
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_width</code></em>,
66
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_height</code></em>,
67
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> upscale_smaller</code></em>,
68
 
                                                         <em class="parameter"><code><span class="type">guint</span> *width</code></em>,
69
 
                                                         <em class="parameter"><code><span class="type">guint</span> *height</code></em>);</pre>
 
63
<pre class="programlisting"><span class="returnvalue">void</span>                zoom_fit_size                       (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_width</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_height</code></em>,
 
65
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_width</code></em>,
 
66
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_height</code></em>,
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> upscale_smaller</code></em>,
 
68
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
70
70
<p>
71
71
Computes the final dimensions of an image that is to be scaled to fit to a
72
72
certain size.  If <em class="parameter"><code>upscale_smaller</code></em> is TRUE, then images smaller than the
110
110
<hr>
111
111
<div class="refsect2">
112
112
<a name="zoom-fit-scale"></a><h3>zoom_fit_scale ()</h3>
113
 
<pre class="programlisting"><span class="returnvalue">double</span>              zoom_fit_scale                      (<em class="parameter"><code><span class="type">guint</span> dest_width</code></em>,
114
 
                                                         <em class="parameter"><code><span class="type">guint</span> dest_height</code></em>,
115
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_width</code></em>,
116
 
                                                         <em class="parameter"><code><span class="type">guint</span> src_height</code></em>,
117
 
                                                         <em class="parameter"><code><span class="type">gboolean</span> upscale_smaller</code></em>);</pre>
 
113
<pre class="programlisting"><span class="returnvalue">double</span>              zoom_fit_scale                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_width</code></em>,
 
114
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> dest_height</code></em>,
 
115
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_width</code></em>,
 
116
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> src_height</code></em>,
 
117
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> upscale_smaller</code></em>);</pre>
118
118
<p>
119
119
Similar to <a class="link" href="eog-zoom.html#zoom-fit-size" title="zoom_fit_size ()"><code class="function">zoom_fit_size()</code></a>, but returns the zoom factor of the final image
120
120
with respect to the original image's size.
153
153
</div>
154
154
<div class="footer">
155
155
<hr>
156
 
          Generated by GTK-Doc V1.17.1</div>
 
156
          Generated by GTK-Doc V1.18</div>
157
157
</body>
158
158
</html>
 
 
b'\\ No newline at end of file'