~ubuntu-branches/ubuntu/trusty/evince/trusty-updates

« back to all changes in this revision

Viewing changes to help/reference/libdocument/html/libevdocument-EvDocumentMisc.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-11-12 12:10:03 UTC
  • mfrom: (1.8.6)
  • Revision ID: package-import@ubuntu.com-20131112121003-cjura8gxxx9w2u7l
Tags: 3.10.2-0ubuntu1
* New upstream version
* debian/patches/git_give_focus_correctly.patch,
  debian/patches/git_correct_page_info.patch,
  debian/patches/git_djvu_segfault.patch:
  - dropped, those changes are in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>Evince Document Library Reference Manual: ev-document-misc</title>
 
5
<title>EvDocumentMisc</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="Evince Document Library Reference Manual">
8
8
<link rel="up" href="document-interfaces.html" title="Part I. Document Interfaces">
9
9
<link rel="prev" href="EvDocumentLinks.html" title="EvDocumentLinks">
10
10
<link rel="next" href="EvDocumentPrint.html" title="EvDocumentPrint">
11
 
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.19 (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">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
 
<td width="100%" align="left">
17
 
<a href="#" class="shortcut">Top</a>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="EvDocumentLinks.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="document-interfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">Evince Document Library Reference Manual</th>
 
21
<td><a accesskey="n" href="EvDocumentPrint.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#libevdocument-EvDocumentMisc.synopsis" class="shortcut">Top</a>
18
25
                   | 
19
26
                  <a href="#libevdocument-EvDocumentMisc.description" class="shortcut">Description</a>
20
 
</td>
21
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
 
<td><a accesskey="u" href="document-interfaces.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
 
<td><a accesskey="p" href="EvDocumentLinks.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
 
<td><a accesskey="n" href="EvDocumentPrint.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
 
</tr></table>
 
27
</td></tr>
 
28
</table>
26
29
<div class="refentry">
27
30
<a name="libevdocument-EvDocumentMisc"></a><div class="titlepage"></div>
28
31
<div class="refnamediv"><table width="100%"><tr>
29
32
<td valign="top">
30
 
<h2><span class="refentrytitle"><a name="libevdocument-EvDocumentMisc.top_of_page"></a>ev-document-misc</span></h2>
31
 
<p>ev-document-misc</p>
 
33
<h2><span class="refentrytitle"><a name="libevdocument-EvDocumentMisc.top_of_page"></a>EvDocumentMisc</span></h2>
 
34
<p>EvDocumentMisc</p>
32
35
</td>
33
36
<td valign="top" align="right"></td>
34
37
</tr></table></div>
39
42
                                                         <em class="parameter"><code><span class="type">gint</span> *x</code></em>,
40
43
                                                         <em class="parameter"><code><span class="type">gint</span> *y</code></em>);
41
44
<span class="returnvalue">gdouble</span>             <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-get-screen-dpi" title="ev_document_misc_get_screen_dpi ()">ev_document_misc_get_screen_dpi</a>     (<em class="parameter"><code><span class="type">GdkScreen</span> *screen</code></em>);
42
 
<a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *   <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-surface-from-pixbuf" title="ev_document_misc_surface_from_pixbuf ()">ev_document_misc_surface_from_pixbuf</a>
 
45
<span class="returnvalue">cairo_surface_t</span> *   <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-surface-from-pixbuf" title="ev_document_misc_surface_from_pixbuf ()">ev_document_misc_surface_from_pixbuf</a>
43
46
                                                        (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);
44
47
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-pixbuf-from-surface" title="ev_document_misc_pixbuf_from_surface ()">ev_document_misc_pixbuf_from_surface</a>
45
 
                                                        (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>);
46
 
<a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *   <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-surface-rotate-and-scale" title="ev_document_misc_surface_rotate_and_scale ()">ev_document_misc_surface_rotate_and_scale</a>
47
 
                                                        (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
 
48
                                                        (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);
 
49
<span class="returnvalue">cairo_surface_t</span> *   <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-surface-rotate-and-scale" title="ev_document_misc_surface_rotate_and_scale ()">ev_document_misc_surface_rotate_and_scale</a>
 
50
                                                        (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>,
48
51
                                                         <em class="parameter"><code><span class="type">gint</span> dest_width</code></em>,
49
52
                                                         <em class="parameter"><code><span class="type">gint</span> dest_height</code></em>,
50
53
                                                         <em class="parameter"><code><span class="type">gint</span> dest_rotation</code></em>);
51
 
<span class="returnvalue">void</span>                <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-invert-surface" title="ev_document_misc_invert_surface ()">ev_document_misc_invert_surface</a>     (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>);
 
54
<span class="returnvalue">void</span>                <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-invert-surface" title="ev_document_misc_invert_surface ()">ev_document_misc_invert_surface</a>     (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);
52
55
<span class="returnvalue">void</span>                <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-invert-pixbuf" title="ev_document_misc_invert_pixbuf ()">ev_document_misc_invert_pixbuf</a>      (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);
53
56
<span class="returnvalue">gchar</span> *             <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-format-date" title="ev_document_misc_format_date ()">ev_document_misc_format_date</a>        (<em class="parameter"><code><span class="type">GTime</span> utime</code></em>);
54
57
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-render-loading-thumbnail" title="ev_document_misc_render_loading_thumbnail ()">ev_document_misc_render_loading_thumbnail</a>
68
71
                                                        (<em class="parameter"><code><span class="type">gint</span> page_width</code></em>,
69
72
                                                         <em class="parameter"><code><span class="type">gint</span> page_height</code></em>,
70
73
                                                         <em class="parameter"><code><span class="type">GtkBorder</span> *border</code></em>);
71
 
<span class="returnvalue">void</span>                <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-paint-one-page" title="ev_document_misc_paint_one_page ()">ev_document_misc_paint_one_page</a>     (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
 
74
<span class="returnvalue">void</span>                <a class="link" href="libevdocument-EvDocumentMisc.html#ev-document-misc-paint-one-page" title="ev_document_misc_paint_one_page ()">ev_document_misc_paint_one_page</a>     (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
72
75
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
73
76
                                                         <em class="parameter"><code><span class="type">GdkRectangle</span> *area</code></em>,
74
77
                                                         <em class="parameter"><code><span class="type">GtkBorder</span> *border</code></em>,
82
85
</div>
83
86
<div class="refsect1">
84
87
<a name="libevdocument-EvDocumentMisc.description"></a><h2>Description</h2>
85
 
<p>
86
 
</p>
87
88
</div>
88
89
<div class="refsect1">
89
90
<a name="libevdocument-EvDocumentMisc.details"></a><h2>Details</h2>
102
103
<hr>
103
104
<div class="refsect2">
104
105
<a name="ev-document-misc-surface-from-pixbuf"></a><h3>ev_document_misc_surface_from_pixbuf ()</h3>
105
 
<pre class="programlisting"><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *   ev_document_misc_surface_from_pixbuf
 
106
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *   ev_document_misc_surface_from_pixbuf
106
107
                                                        (<em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre>
107
 
<p>
108
 
</p>
109
108
</div>
110
109
<hr>
111
110
<div class="refsect2">
112
111
<a name="ev-document-misc-pixbuf-from-surface"></a><h3>ev_document_misc_pixbuf_from_surface ()</h3>
113
112
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         ev_document_misc_pixbuf_from_surface
114
 
                                                        (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>);</pre>
 
113
                                                        (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre>
115
114
<div class="variablelist"><table border="0" class="variablelist">
116
115
<colgroup>
117
116
<col align="left" valign="top">
120
119
<tbody>
121
120
<tr>
122
121
<td><p><span class="term"><em class="parameter"><code>surface</code></em> :</span></p></td>
123
 
<td>a <a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a>
 
122
<td>a <span class="type">cairo_surface_t</span>
124
123
</td>
125
124
</tr>
126
125
<tr>
134
133
<hr>
135
134
<div class="refsect2">
136
135
<a name="ev-document-misc-surface-rotate-and-scale"></a><h3>ev_document_misc_surface_rotate_and_scale ()</h3>
137
 
<pre class="programlisting"><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *   ev_document_misc_surface_rotate_and_scale
138
 
                                                        (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>,
 
136
<pre class="programlisting"><span class="returnvalue">cairo_surface_t</span> *   ev_document_misc_surface_rotate_and_scale
 
137
                                                        (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>,
139
138
                                                         <em class="parameter"><code><span class="type">gint</span> dest_width</code></em>,
140
139
                                                         <em class="parameter"><code><span class="type">gint</span> dest_height</code></em>,
141
140
                                                         <em class="parameter"><code><span class="type">gint</span> dest_rotation</code></em>);</pre>
142
 
<p>
143
 
</p>
144
141
</div>
145
142
<hr>
146
143
<div class="refsect2">
147
144
<a name="ev-document-misc-invert-surface"></a><h3>ev_document_misc_invert_surface ()</h3>
148
 
<pre class="programlisting"><span class="returnvalue">void</span>                ev_document_misc_invert_surface     (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> *surface</code></em>);</pre>
 
145
<pre class="programlisting"><span class="returnvalue">void</span>                ev_document_misc_invert_surface     (<em class="parameter"><code><span class="type">cairo_surface_t</span> *surface</code></em>);</pre>
149
146
</div>
150
147
<hr>
151
148
<div class="refsect2">
165
162
                                                         <em class="parameter"><code><span class="type">int</span> width</code></em>,
166
163
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>,
167
164
                                                         <em class="parameter"><code><span class="type">gboolean</span> inverted_colors</code></em>);</pre>
 
165
<div class="variablelist"><table border="0" class="variablelist">
 
166
<colgroup>
 
167
<col align="left" valign="top">
 
168
<col>
 
169
</colgroup>
 
170
<tbody>
 
171
<tr>
 
172
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
 
173
<td>a <span class="type">GtkWidget</span> to use for style information</td>
 
174
</tr>
 
175
<tr>
 
176
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
 
177
<td>the desired width</td>
 
178
</tr>
 
179
<tr>
 
180
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
 
181
<td>the desired height</td>
 
182
</tr>
 
183
<tr>
 
184
<td><p><span class="term"><em class="parameter"><code>inverted_colors</code></em> :</span></p></td>
 
185
<td>whether to invert colors</td>
 
186
</tr>
 
187
<tr>
 
188
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
189
<td>a <span class="type">GdkPixbuf</span>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
190
</td>
 
191
</tr>
 
192
</tbody>
 
193
</table></div>
168
194
<p class="since">Since 3.8</p>
169
195
</div>
170
196
<hr>
173
199
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         ev_document_misc_render_thumbnail_with_frame
174
200
                                                        (<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
175
201
                                                         <em class="parameter"><code><span class="type">GdkPixbuf</span> *source_pixbuf</code></em>);</pre>
 
202
<div class="variablelist"><table border="0" class="variablelist">
 
203
<colgroup>
 
204
<col align="left" valign="top">
 
205
<col>
 
206
</colgroup>
 
207
<tbody>
 
208
<tr>
 
209
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
 
210
<td>a <span class="type">GtkWidget</span> to use for style information</td>
 
211
</tr>
 
212
<tr>
 
213
<td><p><span class="term"><em class="parameter"><code>source_pixbuf</code></em> :</span></p></td>
 
214
<td>a <span class="type">GdkPixbuf</span>
 
215
</td>
 
216
</tr>
 
217
<tr>
 
218
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
219
<td>a <span class="type">GdkPixbuf</span>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
220
</td>
 
221
</tr>
 
222
</tbody>
 
223
</table></div>
176
224
<p class="since">Since 3.8</p>
177
225
</div>
178
226
<hr>
182
230
                                                        (<em class="parameter"><code><span class="type">int</span> width</code></em>,
183
231
                                                         <em class="parameter"><code><span class="type">int</span> height</code></em>,
184
232
                                                         <em class="parameter"><code><span class="type">gboolean</span> inverted_colors</code></em>);</pre>
 
233
<div class="variablelist"><table border="0" class="variablelist">
 
234
<colgroup>
 
235
<col align="left" valign="top">
 
236
<col>
 
237
</colgroup>
 
238
<tbody>
 
239
<tr>
 
240
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
 
241
<td>the desired width</td>
 
242
</tr>
 
243
<tr>
 
244
<td><p><span class="term"><em class="parameter"><code>height</code></em> :</span></p></td>
 
245
<td>the desired height</td>
 
246
</tr>
 
247
<tr>
 
248
<td><p><span class="term"><em class="parameter"><code>inverted_colors</code></em> :</span></p></td>
 
249
<td>whether to invert colors</td>
 
250
</tr>
 
251
<tr>
 
252
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
253
<td>a <span class="type">GdkPixbuf</span>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
 
254
</td>
 
255
</tr>
 
256
</tbody>
 
257
</table></div>
185
258
</div>
186
259
<hr>
187
260
<div class="refsect2">
190
263
                                                        (<em class="parameter"><code><span class="type">gint</span> page_width</code></em>,
191
264
                                                         <em class="parameter"><code><span class="type">gint</span> page_height</code></em>,
192
265
                                                         <em class="parameter"><code><span class="type">GtkBorder</span> *border</code></em>);</pre>
193
 
<p>
194
 
</p>
195
266
</div>
196
267
<hr>
197
268
<div class="refsect2">
198
269
<a name="ev-document-misc-paint-one-page"></a><h3>ev_document_misc_paint_one_page ()</h3>
199
 
<pre class="programlisting"><span class="returnvalue">void</span>                ev_document_misc_paint_one_page     (<em class="parameter"><code><a href="/home/carlos/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-t"><span class="type">cairo_t</span></a> *cr</code></em>,
 
270
<pre class="programlisting"><span class="returnvalue">void</span>                ev_document_misc_paint_one_page     (<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
200
271
                                                         <em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>,
201
272
                                                         <em class="parameter"><code><span class="type">GdkRectangle</span> *area</code></em>,
202
273
                                                         <em class="parameter"><code><span class="type">GtkBorder</span> *border</code></em>,
203
274
                                                         <em class="parameter"><code><span class="type">gboolean</span> highlight</code></em>,
204
275
                                                         <em class="parameter"><code><span class="type">gboolean</span> inverted_colors</code></em>);</pre>
205
 
<p>
206
 
</p>
207
276
</div>
208
277
<hr>
209
278
<div class="refsect2">
243
312
</div>
244
313
<div class="footer">
245
314
<hr>
246
 
          Generated by GTK-Doc V1.19.1</div>
 
315
          Generated by GTK-Doc V1.19</div>
247
316
</body>
248
317
</html>
 
 
b'\\ No newline at end of file'