This file is indexed.

/usr/share/gtk-doc/html/amitk/amitk-AmitkCanvas.html is in amide 1.0.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>AmitkCanvas</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="AMITK Reference Manual">
<link rel="up" href="AmitkWidgets.html" title="Amitk Widgets">
<link rel="prev" href="AmitkWidgets.html" title="Amitk Widgets">
<link rel="next" href="amitk-amitk-canvas-object.html" title="amitk_canvas_object">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="amitk_intro.html" title="Part&#160;I.&#160;AMITK+ Overview">
<link rel="part" href="amitk_base.html" title="Part&#160;II.&#160;AMITK Core Objects">
<link rel="part" href="amitk_objects.html" title="Part&#160;III.&#160;AMITK Objects">
<link rel="chapter" href="ch01.html" title="AMITK Object Hierarchy">
<link rel="chapter" href="SpaceObjects.html" title="Medical Image Objects">
<link rel="chapter" href="AmitkWidgets.html" title="Amitk Widgets">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="AmitkWidgets.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AmitkWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">AMITK Reference Manual</th>
<td><a accesskey="n" href="amitk-amitk-canvas-object.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id434853" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id435491" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="amitk-AmitkCanvas"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id434853"></a><span class="refentrytitle">AmitkCanvas</span>
</h2>
<p>AmitkCanvas</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">



#define             <a class="link" href="amitk-AmitkCanvas.html#AMITK-CANVAS-VIEW:CAPS">AMITK_CANVAS_VIEW</a>                   (obj)
#define             <a class="link" href="amitk-AmitkCanvas.html#AMITK-CANVAS-VIEW-MODE:CAPS">AMITK_CANVAS_VIEW_MODE</a>              (obj)
enum                <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvasType">AmitkCanvasType</a>;
enum                <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvasTargetAction">AmitkCanvasTargetAction</a>;
                    <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a>;
<a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*          <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-new">amitk_canvas_new</a>                    (<a class="link" href="amitk-AmitkStudy.html#AmitkStudy">AmitkStudy</a> *study,
                                                         <a class="link" href="amitk-amitk-point.html#AmitkView">AmitkView</a> view,
                                                         <a class="link" href="amitk-amitk-common.html#AmitkViewMode">AmitkViewMode</a> view_mode,
                                                         <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvasType">AmitkCanvasType</a> type);
void                <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-set-study">amitk_canvas_set_study</a>              (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a class="link" href="amitk-AmitkStudy.html#AmitkStudy">AmitkStudy</a> *study);
void                <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-set-active-object">amitk_canvas_set_active_object</a>      (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a class="link" href="amitk-AmitkObject.html#AmitkObject">AmitkObject</a> *active_object);
void                <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-update-target">amitk_canvas_update_target</a>          (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvasTargetAction">AmitkCanvasTargetAction</a> action,
                                                         <a class="link" href="amitk-amitk-point.html#AmitkPoint">AmitkPoint</a> center,
                                                         <a class="link" href="amitk-amitk-type.html#amide-real-t">amide_real_t</a> thickness);
void                <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-set-time-on-image">amitk_canvas_set_time_on_image</a>      (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> time_on_image);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-get-width">amitk_canvas_get_width</a>              (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-get-height">amitk_canvas_get_height</a>             (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas);
<a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>*          <a class="link" href="amitk-AmitkCanvas.html#amitk-canvas-get-pixbuf">amitk_canvas_get_pixbuf</a>             (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas);

</pre>
</div>
<div class="refsect1" lang="en">
<a name="id435491"></a><h2>Description</h2>
<p>

</p>
</div>
<div class="refsect1" lang="en">
<a name="id435505"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id435515"></a><h3>
<a name="AMITK-CANVAS-VIEW:CAPS"></a>AMITK_CANVAS_VIEW()</h3>
<a class="indexterm" name="id435527"></a><pre class="programlisting">#define AMITK_CANVAS_VIEW(obj)       (AMITK_CANVAS(obj)-&gt;view)
</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em>&#160;:</span></p></td>
<td>


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435560"></a><h3>
<a name="AMITK-CANVAS-VIEW-MODE:CAPS"></a>AMITK_CANVAS_VIEW_MODE()</h3>
<a class="indexterm" name="id435573"></a><pre class="programlisting">#define AMITK_CANVAS_VIEW_MODE(obj)  (AMITK_CANVAS(obj)-&gt;view_mode)
</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em>&#160;:</span></p></td>
<td>


</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435606"></a><h3>
<a name="AmitkCanvasType"></a>enum AmitkCanvasType</h3>
<a class="indexterm" name="id435619"></a><pre class="programlisting">typedef enum {
  AMITK_CANVAS_TYPE_NORMAL,
  AMITK_CANVAS_TYPE_FLY_THROUGH
} AmitkCanvasType;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435634"></a><h3>
<a name="AmitkCanvasTargetAction"></a>enum AmitkCanvasTargetAction</h3>
<a class="indexterm" name="id435647"></a><pre class="programlisting">typedef enum {
  AMITK_CANVAS_TARGET_ACTION_HIDE,
  AMITK_CANVAS_TARGET_ACTION_SHOW,
  AMITK_CANVAS_TARGET_ACTION_LEAVE
} AmitkCanvasTargetAction;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435663"></a><h3>
<a name="AmitkCanvas"></a>AmitkCanvas</h3>
<a class="indexterm" name="id435675"></a><pre class="programlisting">typedef struct {
  GtkVBox vbox;

  GtkWidget * canvas;
  GtkWidget * label;
  GtkWidget * scrollbar;
  GtkObject * scrollbar_adjustment;
  GnomeCanvasItem * arrows[4];
  GnomeCanvasItem * orientation_label[4];
  AmitkCanvasType type;

  AmitkVolume * volume; /* the volume that this canvas slice displays */
  AmitkPoint center; /* in base coordinate space */

  AmitkView view;
  AmitkViewMode view_mode;
  gint roi_width;
  AmitkObject * active_object;

  GList * slices;
  GList * slice_cache;
  gint max_slice_cache_size;
  gint pixbuf_width, pixbuf_height;
  gdouble border_width;
  GnomeCanvasItem * image;
  GdkPixbuf * pixbuf;

  gboolean time_on_image;
  GnomeCanvasItem * time_label;

  AmitkStudy * study;
  GList * undrawn_rois;
  GList * object_items;

  guint next_update;
  guint idle_handler_id;
  GList * next_update_objects;

  /* profile stuff */
  GnomeCanvasItem * line_profile_item;

  /* target stuff */
  GnomeCanvasItem * target[8];
  AmitkCanvasTargetAction next_target_action;
  AmitkPoint next_target_center;
  amide_real_t next_target_thickness;
} AmitkCanvas;
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435699"></a><h3>
<a name="amitk-canvas-new"></a>amitk_canvas_new ()</h3>
<a class="indexterm" name="id435711"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
>GtkWidget</a>*          amitk_canvas_new                    (<a class="link" href="amitk-AmitkStudy.html#AmitkStudy">AmitkStudy</a> *study,
                                                         <a class="link" href="amitk-amitk-point.html#AmitkView">AmitkView</a> view,
                                                         <a class="link" href="amitk-amitk-common.html#AmitkViewMode">AmitkViewMode</a> view_mode,
                                                         <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvasType">AmitkCanvasType</a> type);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>study</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view_mode</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435829"></a><h3>
<a name="amitk-canvas-set-study"></a>amitk_canvas_set_study ()</h3>
<a class="indexterm" name="id435842"></a><pre class="programlisting">void                amitk_canvas_set_study              (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a class="link" href="amitk-AmitkStudy.html#AmitkStudy">AmitkStudy</a> *study);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>study</code></em>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435908"></a><h3>
<a name="amitk-canvas-set-active-object"></a>amitk_canvas_set_active_object ()</h3>
<a class="indexterm" name="id435921"></a><pre class="programlisting">void                amitk_canvas_set_active_object      (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a class="link" href="amitk-AmitkObject.html#AmitkObject">AmitkObject</a> *active_object);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>active_object</code></em>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id435987"></a><h3>
<a name="amitk-canvas-update-target"></a>amitk_canvas_update_target ()</h3>
<a class="indexterm" name="id436000"></a><pre class="programlisting">void                amitk_canvas_update_target          (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a class="link" href="amitk-AmitkCanvas.html#AmitkCanvasTargetAction">AmitkCanvasTargetAction</a> action,
                                                         <a class="link" href="amitk-amitk-point.html#AmitkPoint">AmitkPoint</a> center,
                                                         <a class="link" href="amitk-amitk-type.html#amide-real-t">amide_real_t</a> thickness);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>center</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>thickness</code></em>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id436108"></a><h3>
<a name="amitk-canvas-set-time-on-image"></a>amitk_canvas_set_time_on_image ()</h3>
<a class="indexterm" name="id436121"></a><pre class="programlisting">void                amitk_canvas_set_time_on_image      (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> time_on_image);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>time_on_image</code></em>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id436187"></a><h3>
<a name="amitk-canvas-get-width"></a>amitk_canvas_get_width ()</h3>
<a class="indexterm" name="id436200"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                amitk_canvas_get_width              (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id436255"></a><h3>
<a name="amitk-canvas-get-height"></a>amitk_canvas_get_height ()</h3>
<a class="indexterm" name="id436268"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                amitk_canvas_get_height             (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id436324"></a><h3>
<a name="amitk-canvas-get-pixbuf"></a>amitk_canvas_get_pixbuf ()</h3>
<a class="indexterm" name="id436336"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>*          amitk_canvas_get_pixbuf             (<a class="link" href="amitk-AmitkCanvas.html#AmitkCanvas">AmitkCanvas</a> *canvas);</pre>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>canvas</code></em>&#160;:</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
<td>


</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>