~ubuntu-branches/ubuntu/lucid/evince/lucid

« back to all changes in this revision

Viewing changes to help/reference/libdocument/html/EvSelection.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-02-23 11:58:49 UTC
  • mfrom: (1.1.56 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223115849-5dl78qmwo31gad3c
Tags: 2.29.91-0ubuntu1
* New upstream release:
  - Modernise API docs (Christian Persch)
  - Fix dpi calculation (#608586, Juanjo Marín)
  - Allow adding actions for more than one item in view popup menu
    (#609497, Carlos Garcia Campos)
  - Add gconf schemas for comic cbt files (#609501, Carlos Garcia
    Campos)
  - Update totem-scrsaver from totem sources (#610173, Carlos Garcia
    Campos)
  - Fix linking with pedantic linkers (#609895, Hib Eris)
  - Do not link evince shell to poppler directly (#608832, Hib Eris)
  - Several translatable messages fixed (#608698, Philip Withnall)
  - Translation updates
* debian/control.in:
  - add libx11-dev build-dep
  - bump Standards-Version
* debian/libevdocument-dev.install and debian/libevview-dev.install:
  - upstream gtk-doc folders now contains version

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>EvSelection</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
 
<link rel="home" href="index.html" title="libevdocument Reference Manual">
8
 
<link rel="up" href="interfaces.html" title="Part I. Document Interfaces">
9
 
<link rel="prev" href="EvDocument.html" title="EvDocument">
10
 
<link rel="next" href="EvDocumentLayers.html" title="EvDocumentLayers">
11
 
<meta name="generator" content="GTK-Doc V1.12 (XML mode)">
 
7
<link rel="home" href="index.html" title="Evince Document Library Reference Manual">
 
8
<link rel="up" href="document-interfaces.html" title="Part I. Document Interfaces">
 
9
<link rel="prev" href="EvDocumentTransition.html" title="EvDocumentTransition">
 
10
<link rel="next" href="EvFileExporter.html" title="EvFileExporter">
 
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="part" href="interfaces.html" title="Part I. Document Interfaces">
14
 
<link rel="part" href="data.html" title="Part II. Document data">
15
 
<link rel="part" href="helper.html" title="Part III. Helper functions">
16
13
</head>
17
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
19
16
<tr valign="middle">
20
 
<td><a accesskey="p" href="EvDocument.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
21
 
<td><a accesskey="u" href="interfaces.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
17
<td><a accesskey="p" href="EvDocumentTransition.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>
22
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
23
 
<th width="100%" align="center">libevdocument Reference Manual</th>
24
 
<td><a accesskey="n" href="EvDocumentLayers.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
20
<th width="100%" align="center">Evince Document Library Reference Manual</th>
 
21
<td><a accesskey="n" href="EvFileExporter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
25
22
</tr>
26
23
<tr><td colspan="5" class="shortcuts">
27
24
<a href="#EvSelection.synopsis" class="shortcut">Top</a>
46
43
#define             <a class="link" href="EvSelection.html#EV-IS-SELECTION-IFACE:CAPS" title="EV_IS_SELECTION_IFACE()">EV_IS_SELECTION_IFACE</a>               (k)
47
44
enum                <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a>;
48
45
                    <a class="link" href="EvSelection.html#EvSelection-struct" title="EvSelection">EvSelection</a>;
49
 
void                <a class="link" href="EvSelection.html#ev-selection-render-selection" title="ev_selection_render_selection ()">ev_selection_render_selection</a>       (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
50
 
                                                         <a class="link" href="EvRenderContext.html" title="EvRenderContext">EvRenderContext</a> *rc,
51
 
                                                         <a href="/home/carlos/gnome-cvs/share/gtk-doc/html/cairo/cairo-surface.html#cairo-surface-t">cairo_surface_t</a> **surface,
52
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *points,
53
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *old_points,
54
 
                                                         <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a> style,
55
 
                                                         GdkColor *text,
56
 
                                                         GdkColor *base);
57
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *             <a class="link" href="EvSelection.html#ev-selection-get-selected-text" title="ev_selection_get_selected_text ()">ev_selection_get_selected_text</a>      (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
58
 
                                                         <a class="link" href="EvRenderContext.html" title="EvRenderContext">EvRenderContext</a> *rc,
59
 
                                                         <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a> style,
60
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *points);
61
 
GdkRegion *         <a class="link" href="EvSelection.html#ev-selection-get-selection-map" title="ev_selection_get_selection_map ()">ev_selection_get_selection_map</a>      (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
62
 
                                                         <a class="link" href="EvPage.html" title="EvPage">EvPage</a> *page);
63
 
GdkRegion *         <a class="link" href="EvSelection.html#ev-selection-get-selection-region" title="ev_selection_get_selection_region ()">ev_selection_get_selection_region</a>   (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
64
 
                                                         <a class="link" href="EvRenderContext.html" title="EvRenderContext">EvRenderContext</a> *rc,
65
 
                                                         <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a> style,
66
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *points);
 
46
                    <a class="link" href="EvSelection.html#EvSelectionIface" title="EvSelectionIface">EvSelectionIface</a>;
 
47
<span class="returnvalue">void</span>                <a class="link" href="EvSelection.html#ev-selection-render-selection" title="ev_selection_render_selection ()">ev_selection_render_selection</a>       (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
48
                                                         <em class="parameter"><code><a class="link" href="EvRenderContext.html" title="EvRenderContext"><span class="type">EvRenderContext</span></a> *rc</code></em>,
 
49
                                                         <em class="parameter"><code><a href="/home/carlos/gnome-cvs/share/gtk-doc/html/cairo/cairo-surface.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> **surface</code></em>,
 
50
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *points</code></em>,
 
51
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *old_points</code></em>,
 
52
                                                         <em class="parameter"><code><a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle"><span class="type">EvSelectionStyle</span></a> style</code></em>,
 
53
                                                         <em class="parameter"><code><span class="type">GdkColor</span> *text</code></em>,
 
54
                                                         <em class="parameter"><code><span class="type">GdkColor</span> *base</code></em>);
 
55
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="EvSelection.html#ev-selection-get-selected-text" title="ev_selection_get_selected_text ()">ev_selection_get_selected_text</a>      (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
56
                                                         <em class="parameter"><code><a class="link" href="EvRenderContext.html" title="EvRenderContext"><span class="type">EvRenderContext</span></a> *rc</code></em>,
 
57
                                                         <em class="parameter"><code><a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle"><span class="type">EvSelectionStyle</span></a> style</code></em>,
 
58
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *points</code></em>);
 
59
<span class="returnvalue">GdkRegion</span> *         <a class="link" href="EvSelection.html#ev-selection-get-selection-map" title="ev_selection_get_selection_map ()">ev_selection_get_selection_map</a>      (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
60
                                                         <em class="parameter"><code><a class="link" href="EvPage.html" title="EvPage"><span class="type">EvPage</span></a> *page</code></em>);
 
61
<span class="returnvalue">GdkRegion</span> *         <a class="link" href="EvSelection.html#ev-selection-get-selection-region" title="ev_selection_get_selection_region ()">ev_selection_get_selection_region</a>   (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
62
                                                         <em class="parameter"><code><a class="link" href="EvRenderContext.html" title="EvRenderContext"><span class="type">EvRenderContext</span></a> *rc</code></em>,
 
63
                                                         <em class="parameter"><code><a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle"><span class="type">EvSelectionStyle</span></a> style</code></em>,
 
64
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *points</code></em>);
67
65
</pre>
68
66
</div>
69
67
<div class="refsect1" title="Object Hierarchy">
131
129
</p>
132
130
</div>
133
131
<hr>
 
132
<div class="refsect2" title="EvSelectionIface">
 
133
<a name="EvSelectionIface"></a><h3>EvSelectionIface</h3>
 
134
<pre class="programlisting">typedef struct {
 
135
        GTypeInterface base_iface;
 
136
 
 
137
        void        (* render_selection)     (EvSelection      *selection,
 
138
                                              EvRenderContext  *rc,
 
139
                                              cairo_surface_t **surface,
 
140
                                              EvRectangle      *points,
 
141
                                              EvRectangle      *old_points,
 
142
                                              EvSelectionStyle  style,
 
143
                                              GdkColor         *text,
 
144
                                              GdkColor         *base);
 
145
        gchar     * (* get_selected_text)    (EvSelection      *selection,
 
146
                                              EvRenderContext  *rc,
 
147
                                              EvSelectionStyle  style,
 
148
                                              EvRectangle      *points);
 
149
        GdkRegion * (* get_selection_map)    (EvSelection      *selection,
 
150
                                              EvPage           *page);
 
151
        GdkRegion * (* get_selection_region) (EvSelection      *selection,
 
152
                                              EvRenderContext  *rc,
 
153
                                              EvSelectionStyle  style,
 
154
                                              EvRectangle      *points);
 
155
} EvSelectionIface;
 
156
</pre>
 
157
</div>
 
158
<hr>
134
159
<div class="refsect2" title="ev_selection_render_selection ()">
135
160
<a name="ev-selection-render-selection"></a><h3>ev_selection_render_selection ()</h3>
136
 
<pre class="programlisting">void                ev_selection_render_selection       (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
137
 
                                                         <a class="link" href="EvRenderContext.html" title="EvRenderContext">EvRenderContext</a> *rc,
138
 
                                                         <a href="/home/carlos/gnome-cvs/share/gtk-doc/html/cairo/cairo-surface.html#cairo-surface-t">cairo_surface_t</a> **surface,
139
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *points,
140
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *old_points,
141
 
                                                         <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a> style,
142
 
                                                         GdkColor *text,
143
 
                                                         GdkColor *base);</pre>
 
161
<pre class="programlisting"><span class="returnvalue">void</span>                ev_selection_render_selection       (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
162
                                                         <em class="parameter"><code><a class="link" href="EvRenderContext.html" title="EvRenderContext"><span class="type">EvRenderContext</span></a> *rc</code></em>,
 
163
                                                         <em class="parameter"><code><a href="/home/carlos/gnome-cvs/share/gtk-doc/html/cairo/cairo-surface.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> **surface</code></em>,
 
164
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *points</code></em>,
 
165
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *old_points</code></em>,
 
166
                                                         <em class="parameter"><code><a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle"><span class="type">EvSelectionStyle</span></a> style</code></em>,
 
167
                                                         <em class="parameter"><code><span class="type">GdkColor</span> *text</code></em>,
 
168
                                                         <em class="parameter"><code><span class="type">GdkColor</span> *base</code></em>);</pre>
144
169
<p>
145
170
</p>
146
171
<div class="variablelist"><table border="0">
192
217
<hr>
193
218
<div class="refsect2" title="ev_selection_get_selected_text ()">
194
219
<a name="ev-selection-get-selected-text"></a><h3>ev_selection_get_selected_text ()</h3>
195
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a> *             ev_selection_get_selected_text      (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
196
 
                                                         <a class="link" href="EvRenderContext.html" title="EvRenderContext">EvRenderContext</a> *rc,
197
 
                                                         <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a> style,
198
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *points);</pre>
 
220
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             ev_selection_get_selected_text      (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
221
                                                         <em class="parameter"><code><a class="link" href="EvRenderContext.html" title="EvRenderContext"><span class="type">EvRenderContext</span></a> *rc</code></em>,
 
222
                                                         <em class="parameter"><code><a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle"><span class="type">EvSelectionStyle</span></a> style</code></em>,
 
223
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *points</code></em>);</pre>
199
224
<p>
200
225
</p>
201
226
<div class="variablelist"><table border="0">
232
257
<hr>
233
258
<div class="refsect2" title="ev_selection_get_selection_map ()">
234
259
<a name="ev-selection-get-selection-map"></a><h3>ev_selection_get_selection_map ()</h3>
235
 
<pre class="programlisting">GdkRegion *         ev_selection_get_selection_map      (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
236
 
                                                         <a class="link" href="EvPage.html" title="EvPage">EvPage</a> *page);</pre>
 
260
<pre class="programlisting"><span class="returnvalue">GdkRegion</span> *         ev_selection_get_selection_map      (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
261
                                                         <em class="parameter"><code><a class="link" href="EvPage.html" title="EvPage"><span class="type">EvPage</span></a> *page</code></em>);</pre>
237
262
<p>
238
263
</p>
239
264
<div class="variablelist"><table border="0">
260
285
<hr>
261
286
<div class="refsect2" title="ev_selection_get_selection_region ()">
262
287
<a name="ev-selection-get-selection-region"></a><h3>ev_selection_get_selection_region ()</h3>
263
 
<pre class="programlisting">GdkRegion *         ev_selection_get_selection_region   (<a class="link" href="EvSelection.html" title="EvSelection">EvSelection</a> *selection,
264
 
                                                         <a class="link" href="EvRenderContext.html" title="EvRenderContext">EvRenderContext</a> *rc,
265
 
                                                         <a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle">EvSelectionStyle</a> style,
266
 
                                                         <a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle">EvRectangle</a> *points);</pre>
 
288
<pre class="programlisting"><span class="returnvalue">GdkRegion</span> *         ev_selection_get_selection_region   (<em class="parameter"><code><a class="link" href="EvSelection.html" title="EvSelection"><span class="type">EvSelection</span></a> *selection</code></em>,
 
289
                                                         <em class="parameter"><code><a class="link" href="EvRenderContext.html" title="EvRenderContext"><span class="type">EvRenderContext</span></a> *rc</code></em>,
 
290
                                                         <em class="parameter"><code><a class="link" href="EvSelection.html#EvSelectionStyle" title="enum EvSelectionStyle"><span class="type">EvSelectionStyle</span></a> style</code></em>,
 
291
                                                         <em class="parameter"><code><a class="link" href="EvDocument.html#EvRectangle" title="EvRectangle"><span class="type">EvRectangle</span></a> *points</code></em>);</pre>
267
292
<p>
268
293
</p>
269
294
<div class="variablelist"><table border="0">
301
326
</div>
302
327
<div class="footer">
303
328
<hr>
304
 
          Generated by GTK-Doc V1.12</div>
 
329
          Generated by GTK-Doc V1.14</div>
305
330
</body>
306
 
</html>
 
331
</html>
 
 
b'\\ No newline at end of file'