~ubuntu-branches/ubuntu/intrepid/eog/intrepid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-06-03 17:59:39 UTC
  • mfrom: (1.1.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20080603175939-08ttwmnpyu6eifmy
Tags: 2.23.3-0ubuntu1
* New upstream versions:
  New features:
  - Allow to use arrow keys to scroll the image if zoomed in 
  Misc improvements/fixes:
  - Code improvements and cleanups 
  - More documentation on plugin API 
  Bug fixes:
  - #528454, Metadata box should have limited width 
  - #533041, Eog generates thumbnails of thumbnails 
  - #532925, Missing feature: movement of image not possible with keyboard
  New features:
  - Use gtk-doc to document plugin API 
  Bug fixes:
  - #530102, Doesn't register support for compressed svg 
  - #531300, fails to start up due to lcms error 
  - #531809, scroll view scrollbar needs to have secondary steppers disabled
  New features:
  - Migration to gio/gvfs 
  - An initial set of default plugins 
  - New command line option --new-instance to force creation of a
  new instance instead of reusing existing one 
  - PNG metadata (XMP and color profile) support
  Misc improvements/fixes:
  - Miscellaneous improvements in thumbnailing code 
  - Several metadata handling improvements 
  Bug fixes:
  - Fixed #343061, Can't save picture after opened a link picture 
  - Fixed #427053, Keyboard shortcuts managed in eog-scroll-view.c only work 
    if image has focus 
  - Fixed #466566, Display date in a more prominent place 
  - Fixed #492017, Bring back 'Q' to exit eog 
  - Fixed #517017, Gtk-CRITICAL **: gtk_widget_event: assertion 
    `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
  - Fixed #517821, Save print settings in key file 
  - Fixed #523173, provide option not to fork and exit if existing instance 
  - Fixed #525618, thumbnail code issues 
  - Fixed #526331, EoG can't read XMP tags created with F-SPOT 
    whereas Nautilus can 
  - Fixed #527798, compile warnings 
  - Fixed #522077, make it easier to add more metadata readers 
  - Fixed #523856, read (and use) selected PNG metadata 
* Sync on Debian
* debian/control.in:
  - Build-Depends on liblaunchpad-integration-dev, python-central (>= 0.5.6),
    not on libgnomevfs2-dev
  - list required change for the python use
  - updated maintainer informations
* debian/eog.install:
  - install the plugins
* debian/eog-dev.install:
  - install the documentation
* debian/patches/01_lpi.patch:
  - launchpad integration
* debian/patches/02_autoconf.patch:
  - configure update
* debian/patches/03_hide_menu_item.patch:
  - menu simplication (MenuRevisited spec)
* debian/rules:
  - don't use -Wl,-z,defs for now to workaround build issues
  - update clean target
  - use --enable-python option and call dh_pycentral

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>zoom</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
 
7
<link rel="start" href="index.html" title="Eye of GNOME Reference Manual">
 
8
<link rel="up" href="ch06.html" title="Utilities">
 
9
<link rel="prev" href="eog-eog-pixbuf-util.html" title="eog-pixbuf-util">
 
10
<link rel="next" href="eog-uta.html" title="uta">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="chapter" href="ch01.html" title="User Interface">
 
14
<link rel="chapter" href="ch02.html" title="Image data and manipulation">
 
15
<link rel="chapter" href="ch03.html" title="Printing">
 
16
<link rel="chapter" href="ch04.html" title="Application and configuration">
 
17
<link rel="chapter" href="ch05.html" title="Plugins">
 
18
<link rel="chapter" href="ch06.html" title="Utilities">
 
19
<link rel="chapter" href="ch07.html" title="Asynchronous jobs">
 
20
</head>
 
21
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
22
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
23
<tr valign="middle">
 
24
<td><a accesskey="p" href="eog-eog-pixbuf-util.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
25
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
26
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
27
<th width="100%" align="center">Eye of GNOME Reference Manual</th>
 
28
<td><a accesskey="n" href="eog-uta.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
29
</tr>
 
30
<tr><td colspan="5" class="shortcuts"><nobr><a href="#eog-zoom.synopsis" class="shortcut">Top</a>
 
31
                   | 
 
32
                  <a href="#eog-zoom.description" class="shortcut">Description</a></nobr></td></tr>
 
33
</table>
 
34
<div class="refentry" lang="en">
 
35
<a name="eog-zoom"></a><div class="titlepage"></div>
 
36
<div class="refnamediv"><table width="100%"><tr>
 
37
<td valign="top">
 
38
<h2><span class="refentrytitle"><a name="eog-zoom.top_of_page"></a>zoom</span></h2>
 
39
<p>zoom</p>
 
40
</td>
 
41
<td valign="top" align="right"></td>
 
42
</tr></table></div>
 
43
<div class="refsynopsisdiv">
 
44
<a name="eog-zoom.synopsis"></a><h2>Synopsis</h2>
 
45
<pre class="synopsis">
 
46
void                <a class="link" href="eog-zoom.html#zoom-fit-size" title="zoom_fit_size ()">zoom_fit_size</a>                       (guint dest_width,
 
47
                                                         guint dest_height,
 
48
                                                         guint src_width,
 
49
                                                         guint src_height,
 
50
                                                         gboolean upscale_smaller,
 
51
                                                         guint *width,
 
52
                                                         guint *height);
 
53
double              <a class="link" href="eog-zoom.html#zoom-fit-scale" title="zoom_fit_scale ()">zoom_fit_scale</a>                      (guint dest_width,
 
54
                                                         guint dest_height,
 
55
                                                         guint src_width,
 
56
                                                         guint src_height,
 
57
                                                         gboolean upscale_smaller);
 
58
</pre>
 
59
</div>
 
60
<div class="refsect1" lang="en">
 
61
<a name="eog-zoom.description"></a><h2>Description</h2>
 
62
<p>
 
63
 
 
64
</p>
 
65
</div>
 
66
<div class="refsect1" lang="en">
 
67
<a name="eog-zoom.details"></a><h2>Details</h2>
 
68
<div class="refsect2" lang="en">
 
69
<a name="zoom-fit-size"></a><h3>zoom_fit_size ()</h3>
 
70
<pre class="programlisting">void                zoom_fit_size                       (guint dest_width,
 
71
                                                         guint dest_height,
 
72
                                                         guint src_width,
 
73
                                                         guint src_height,
 
74
                                                         gboolean upscale_smaller,
 
75
                                                         guint *width,
 
76
                                                         guint *height);</pre>
 
77
<p>
 
78
Computes the final dimensions of an image that is to be scaled to fit to a
 
79
certain size.  If <em class="parameter"><code>upscale_smaller</code></em> is TRUE, then images smaller than the
 
80
destination size will be scaled up; otherwise, they will be left at their
 
81
original size.</p>
 
82
<p>
 
83
 
 
84
</p>
 
85
<div class="variablelist"><table border="0">
 
86
<col align="left" valign="top">
 
87
<tbody>
 
88
<tr>
 
89
<td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
 
90
<td> Width of destination area.
 
91
</td>
 
92
</tr>
 
93
<tr>
 
94
<td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
 
95
<td> Height of destination area.
 
96
</td>
 
97
</tr>
 
98
<tr>
 
99
<td><p><span class="term"><em class="parameter"><code>src_width</code></em> :</span></p></td>
 
100
<td> Width of source image.
 
101
</td>
 
102
</tr>
 
103
<tr>
 
104
<td><p><span class="term"><em class="parameter"><code>src_height</code></em> :</span></p></td>
 
105
<td> Height of source image.
 
106
</td>
 
107
</tr>
 
108
<tr>
 
109
<td><p><span class="term"><em class="parameter"><code>upscale_smaller</code></em> :</span></p></td>
 
110
<td> Whether to scale up images smaller than the destination size.
 
111
</td>
 
112
</tr>
 
113
<tr>
 
114
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
 
115
<td> Return value for image width.
 
116
</td>
 
117
</tr>
 
118
<tr>
 
119
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
 
120
<td> Return value for image height.
 
121
</td>
 
122
</tr>
 
123
</tbody>
 
124
</table></div>
 
125
</div>
 
126
<hr>
 
127
<div class="refsect2" lang="en">
 
128
<a name="zoom-fit-scale"></a><h3>zoom_fit_scale ()</h3>
 
129
<pre class="programlisting">double              zoom_fit_scale                      (guint dest_width,
 
130
                                                         guint dest_height,
 
131
                                                         guint src_width,
 
132
                                                         guint src_height,
 
133
                                                         gboolean upscale_smaller);</pre>
 
134
<p>
 
135
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
 
136
with respect to the original image's size.</p>
 
137
<p>
 
138
 
 
139
</p>
 
140
<div class="variablelist"><table border="0">
 
141
<col align="left" valign="top">
 
142
<tbody>
 
143
<tr>
 
144
<td><p><span class="term"><em class="parameter"><code>dest_width</code></em> :</span></p></td>
 
145
<td> Width of destination area.
 
146
</td>
 
147
</tr>
 
148
<tr>
 
149
<td><p><span class="term"><em class="parameter"><code>dest_height</code></em> :</span></p></td>
 
150
<td> Height of destination area.
 
151
</td>
 
152
</tr>
 
153
<tr>
 
154
<td><p><span class="term"><em class="parameter"><code>src_width</code></em> :</span></p></td>
 
155
<td> Width of source image.
 
156
</td>
 
157
</tr>
 
158
<tr>
 
159
<td><p><span class="term"><em class="parameter"><code>src_height</code></em> :</span></p></td>
 
160
<td> Height of source image.
 
161
</td>
 
162
</tr>
 
163
<tr>
 
164
<td><p><span class="term"><em class="parameter"><code>upscale_smaller</code></em> :</span></p></td>
 
165
<td> Whether to scale up images smaller than the destination size.
 
166
</td>
 
167
</tr>
 
168
<tr>
 
169
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
170
<td> Zoom factor with respect to the original size.
 
171
</td>
 
172
</tr>
 
173
</tbody>
 
174
</table></div>
 
175
</div>
 
176
</div>
 
177
</div>
 
178
<div class="footer">
 
179
<hr>
 
180
          Generated by GTK-Doc V1.11</div>
 
181
</body>
 
182
</html>