This file is indexed.

/usr/share/gtk-doc/html/libgwydgets/libgwydgets-GwyGraphBasics.html is in libgwyddion20-doc 2.26-1ubuntu1.

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
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GwyGraphBasics</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="GraphWidgets.html" title="Graphs">
<link rel="prev" href="GwyAxis.html" title="GwyAxis">
<link rel="next" href="GwyGraphLabel.html" title="GwyGraphLabel">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="GwyAxis.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="GraphWidgets.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">Gwyddion Widgets Library Reference Manual</th>
<td><a accesskey="n" href="GwyGraphLabel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgwydgets-GwyGraphBasics.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libgwydgets-GwyGraphBasics.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgwydgets-GwyGraphBasics"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgwydgets-GwyGraphBasics.top_of_page"></a>GwyGraphBasics</span></h2>
<p>GwyGraphBasics — Common graph functions and utilities</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgwydgets-GwyGraphBasics.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgwydgets/gwydgets.h&gt;

                    <a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs">GwyGraphActiveAreaSpecs</a>;
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-curve" title="gwy_graph_draw_curve ()">gwy_graph_draw_curve</a>                (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-grid" title="gwy_graph_draw_grid ()">gwy_graph_draw_grid</a>                 (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> nxdata</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_grid_data</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> nydata</code></em>,
                                                         <em class="parameter"><code>const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_grid_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-line" title="gwy_graph_draw_line ()">gwy_graph_draw_line</a>                 (<em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_from</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_from</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_to</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_to</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/gdk/gdk-Graphics-Contexts.html#GdkLineStyle"><span class="type">GdkLineStyle</span></a> line_style</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
                                                         <em class="parameter"><code>const <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="type">GwyRGBA</span></a> *color</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-point" title="gwy_graph_draw_point ()">gwy_graph_draw_point</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphPointType" title="enum GwyGraphPointType"><span class="type">GwyGraphPointType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
                                                         <em class="parameter"><code>const <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="type">GwyRGBA</span></a> *color</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-selection-areas" title="gwy_graph_draw_selection_areas ()">gwy_graph_draw_selection_areas</a>      (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraphArea.html" title="GwySelectionGraphArea"><span class="type">GwySelectionGraphArea</span></a> *selection</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-selection-lines" title="gwy_graph_draw_selection_lines ()">gwy_graph_draw_selection_lines</a>      (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraphLine.html" title="GwySelectionGraphLine"><span class="type">GwySelectionGraphLine</span></a> *selection</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-selection-points" title="gwy_graph_draw_selection_points ()">gwy_graph_draw_selection_points</a>     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraphPoint.html" title="GwySelectionGraphPoint"><span class="type">GwySelectionGraphPoint</span></a> *selection</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-selection-xareas" title="gwy_graph_draw_selection_xareas ()">gwy_graph_draw_selection_xareas</a>     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraph1DArea.html" title="GwySelectionGraph1DArea"><span class="type">GwySelectionGraph1DArea</span></a> *selection</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-draw-selection-yareas" title="gwy_graph_draw_selection_yareas ()">gwy_graph_draw_selection_yareas</a>     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraph1DArea.html" title="GwySelectionGraph1DArea"><span class="type">GwySelectionGraph1DArea</span></a> *selection</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-get-n-preset-colors" title="gwy_graph_get_n_preset_colors ()">gwy_graph_get_n_preset_colors</a>       (<em class="parameter"><code><span class="type">void</span></code></em>);
const <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="returnvalue">GwyRGBA</span></a> *     <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-get-preset-color" title="gwy_graph_get_preset_color ()">gwy_graph_get_preset_color</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> i</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgwydgets-GwyGraphBasics.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libgwydgets-GwyGraphBasics.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyGraphActiveAreaSpecs"></a><h3>GwyGraphActiveAreaSpecs</h3>
<pre class="programlisting">typedef struct {
    gint xmin;
    gint ymin;
    gint height;
    gint width;
    gdouble real_xmin;
    gdouble real_ymin;
    gdouble real_height;
    gdouble real_width;
    gboolean log_x;
    gboolean log_y;
} GwyGraphActiveAreaSpecs;
</pre>
<p>
Graph area specification (for graph drawing primitives).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.xmin"></a>xmin</code></em>;</span></p></td>
<td>X offset of the active area with respect to drawable left border.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.ymin"></a>ymin</code></em>;</span></p></td>
<td>Y offset of the active area with respect to drawable top border.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.height"></a>height</code></em>;</span></p></td>
<td>Active area height in pixels.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.width"></a>width</code></em>;</span></p></td>
<td>Active area width pixels.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.real-xmin"></a>real_xmin</code></em>;</span></p></td>
<td>Minimum x value in real units.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.real-ymin"></a>real_ymin</code></em>;</span></p></td>
<td>Minimum y value in real units.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.real-height"></a>real_height</code></em>;</span></p></td>
<td>Area height in real units.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.real-width"></a>real_width</code></em>;</span></p></td>
<td>Area width in real units.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.log-x"></a>log_x</code></em>;</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if x-axis is logarithmic.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GwyGraphActiveAreaSpecs.log-y"></a>log_y</code></em>;</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if y-axis is logarithmic.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-curve"></a><h3>gwy_graph_draw_curve ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_curve                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);</pre>
<p>
Draws a single graph curve on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>Curve model of the curve to draw.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-grid"></a><h3>gwy_graph_draw_grid ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_grid                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> nxdata</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_grid_data</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> nydata</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_grid_data</code></em>);</pre>
<p>
Draws an array of grid lines on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nxdata</code></em> :</span></p></td>
<td>Number of x grid positions.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_grid_data</code></em> :</span></p></td>
<td>Array of grid data for the x-axis, it can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
<em class="parameter"><code>nxdata</code></em> is zero.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nydata</code></em> :</span></p></td>
<td>Number of y grid positions.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_grid_data</code></em> :</span></p></td>
<td>Array of grid data for the y-axis, it can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
<em class="parameter"><code>nydata</code></em> is zero.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-line"></a><h3>gwy_graph_draw_line ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_line                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_from</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_from</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_to</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_to</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkLineStyle"><span class="type">GdkLineStyle</span></a> line_style</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
                                                         <em class="parameter"><code>const <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="type">GwyRGBA</span></a> *color</code></em>);</pre>
<p>
Draws a line segment on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_from</code></em> :</span></p></td>
<td>x coordinate of the start point of the line</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_from</code></em> :</span></p></td>
<td>y coordinate of the start point of the line</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_to</code></em> :</span></p></td>
<td>x coordinate of the end point of the line</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_to</code></em> :</span></p></td>
<td>y coordinate of the end point of the line</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>line_style</code></em> :</span></p></td>
<td>graph line style</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>point size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>point color</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-point"></a><h3>gwy_graph_draw_point ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_point                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphPointType" title="enum GwyGraphPointType"><span class="type">GwyGraphPointType</span></a> type</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>,
                                                         <em class="parameter"><code>const <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="type">GwyRGBA</span></a> *color</code></em>);</pre>
<p>
Draws a point on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>X coordinate of the point.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>Y coordinate of the point.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>graph point type</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td>point size</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>point color</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-selection-areas"></a><h3>gwy_graph_draw_selection_areas ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_selection_areas      (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraphArea.html" title="GwySelectionGraphArea"><span class="type">GwySelectionGraphArea</span></a> *selection</code></em>);</pre>
<p>
Draws selected area on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
<td>A selection of type <a class="link" href="GwySelectionGraphArea.html" title="GwySelectionGraphArea"><span class="type">GwySelectionGraphArea</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-selection-lines"></a><h3>gwy_graph_draw_selection_lines ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_selection_lines      (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraphLine.html" title="GwySelectionGraphLine"><span class="type">GwySelectionGraphLine</span></a> *selection</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
<p>
Draws selected lines on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
<td>a <a class="link" href="GwySelectionGraphLine.html" title="GwySelectionGraphLine"><span class="type">GwySelectionGraphLine</span></a> structure</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>horizontal or vertical orientation</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-selection-points"></a><h3>gwy_graph_draw_selection_points ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_selection_points     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraphPoint.html" title="GwySelectionGraphPoint"><span class="type">GwySelectionGraphPoint</span></a> *selection</code></em>);</pre>
<p>
Draws selection points on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
<td>A selection of type <a class="link" href="GwySelectionGraphPoint.html" title="GwySelectionGraphPoint"><span class="type">GwySelectionGraphPoint</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-selection-xareas"></a><h3>gwy_graph_draw_selection_xareas ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_selection_xareas     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraph1DArea.html" title="GwySelectionGraph1DArea"><span class="type">GwySelectionGraph1DArea</span></a> *selection</code></em>);</pre>
<p>
Draws selected x-area on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
<td>A selection of type <a class="link" href="GwySelectionGraph1DArea.html" title="GwySelectionGraph1DArea"><span class="type">GwySelectionGraph1DArea</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-draw-selection-yareas"></a><h3>gwy_graph_draw_selection_yareas ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_draw_selection_yareas     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"><span class="type">GdkDrawable</span></a> *drawable</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkGC"><span class="type">GdkGC</span></a> *gc</code></em>,
                                                         <em class="parameter"><code><a class="link" href="libgwydgets-GwyGraphBasics.html#GwyGraphActiveAreaSpecs" title="GwyGraphActiveAreaSpecs"><span class="type">GwyGraphActiveAreaSpecs</span></a> *specs</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GwySelectionGraph1DArea.html" title="GwySelectionGraph1DArea"><span class="type">GwySelectionGraph1DArea</span></a> *selection</code></em>);</pre>
<p>
Drawss selected y-area on a drawable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>drawable</code></em> :</span></p></td>
<td>A drawable.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gc</code></em> :</span></p></td>
<td>Graphics context.
It is modified by this function unpredictably.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>specs</code></em> :</span></p></td>
<td>Specifications (boundaries) of the active area of the graph.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection</code></em> :</span></p></td>
<td>A selection of type <a class="link" href="GwySelectionGraph1DArea.html" title="GwySelectionGraph1DArea"><span class="type">GwySelectionGraph1DArea</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-get-n-preset-colors"></a><h3>gwy_graph_get_n_preset_colors ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gwy_graph_get_n_preset_colors       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Gets the number of distinct colors <a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-get-preset-color" title="gwy_graph_get_preset_color ()"><code class="function">gwy_graph_get_preset_color()</code></a> can return.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The number of distinct colors.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-get-preset-color"></a><h3>gwy_graph_get_preset_color ()</h3>
<pre class="programlisting">const <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="returnvalue">GwyRGBA</span></a> *     gwy_graph_get_preset_color          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> i</code></em>);</pre>
<p>
Gets a preset graph color.
</p>
<p>
Preset colors are a set of selected colors one can use to distingush graph
curves when there is no reason to prefer a particular color.  Note they
can occasionally change between version, even their number can change.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>i</code></em> :</span></p></td>
<td>Color number, starting from 0 which is always black.  It can be any
number but colors start to repeat after
<a class="link" href="libgwydgets-GwyGraphBasics.html#gwy-graph-get-n-preset-colors" title="gwy_graph_get_n_preset_colors ()"><code class="function">gwy_graph_get_n_preset_colors()</code></a> colors.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A constant color that must not be neither modified nor freed.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.8</div>
</body>
</html>