This file is indexed.

/usr/share/gtk-doc/html/libgwydgets/GwyGraphCurveModel.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
575
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GwyGraphCurveModel</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="GwyGraphModel.html" title="GwyGraphModel">
<link rel="next" href="GwyGraphArea.html" title="GwyGraphArea">
<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="GwyGraphModel.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="GwyGraphArea.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GwyGraphCurveModel.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GwyGraphCurveModel.description" class="shortcut">Description</a>
                   | 
                  <a href="#GwyGraphCurveModel.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GwyGraphCurveModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GwyGraphCurveModel.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GwyGraphCurveModel.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GwyGraphCurveModel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GwyGraphCurveModel.top_of_page"></a>GwyGraphCurveModel</span></h2>
<p>GwyGraphCurveModel — Representation of one graph curve</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GwyGraphCurveModel.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libgwydgets/gwydgets.h&gt;

struct              <a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel-struct" title="struct GwyGraphCurveModel">GwyGraphCurveModel</a>;
struct              <a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModelClass" title="struct GwyGraphCurveModelClass">GwyGraphCurveModelClass</a>;
#define             <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-duplicate" title="gwy_graph_curve_model_duplicate()">gwy_graph_curve_model_duplicate</a>     (gcmodel)
<a href="./../libgwyprocess/libgwyprocess/GwyCalData.html#GwyCurveCalibrationData"><span class="returnvalue">GwyCurveCalibrationData</span></a> * <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-calibration-data" title="gwy_graph_curve_model_get_calibration_data ()">gwy_graph_curve_model_get_calibration_data</a>
                                                        (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-ndata" title="gwy_graph_curve_model_get_ndata ()">gwy_graph_curve_model_get_ndata</a>     (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-ranges" title="gwy_graph_curve_model_get_ranges ()">gwy_graph_curve_model_get_ranges</a>    (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> x_logscale</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> y_logscale</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_max</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_max</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-x-range" title="gwy_graph_curve_model_get_x_range ()">gwy_graph_curve_model_get_x_range</a>   (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_max</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> *     <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-xdata" title="gwy_graph_curve_model_get_xdata ()">gwy_graph_curve_model_get_xdata</a>     (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);
<a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-y-range" title="gwy_graph_curve_model_get_y_range ()">gwy_graph_curve_model_get_y_range</a>   (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_min</code></em>,
                                                         <em class="parameter"><code><a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_max</code></em>);
const <a href="http://developer.gnome.org/doc/API/2.0/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> *     <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-ydata" title="gwy_graph_curve_model_get_ydata ()">gwy_graph_curve_model_get_ydata</a>     (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);
<a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="returnvalue">GwyGraphCurveModel</span></a> * <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-new" title="gwy_graph_curve_model_new ()">gwy_graph_curve_model_new</a>          (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="returnvalue">GwyGraphCurveModel</span></a> * <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-new-alike" title="gwy_graph_curve_model_new_alike ()">gwy_graph_curve_model_new_alike</a>    (<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="GwyGraphCurveModel.html#gwy-graph-curve-model-set-calibration-data" title="gwy_graph_curve_model_set_calibration_data ()">gwy_graph_curve_model_set_calibration_data</a>
                                                        (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code>const <a href="./../libgwyprocess/libgwyprocess/GwyCalData.html#GwyCurveCalibrationData"><span class="type">GwyCurveCalibrationData</span></a> *calibration</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-set-data" title="gwy_graph_curve_model_set_data ()">gwy_graph_curve_model_set_data</a>      (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</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> *xdata</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> *ydata</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> n</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-set-data-from-dataline" title="gwy_graph_curve_model_set_data_from_dataline ()">gwy_graph_curve_model_set_data_from_dataline</a>
                                                        (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="./../libgwyprocess/libgwyprocess/GwyDataLine.html"><span class="type">GwyDataLine</span></a> *dline</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> from_index</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> to_index</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----GwyGraphCurveModel
</pre>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GwyGraphCurveModel implements
 <a href="./../libgwyddion/libgwyddion/GwySerializable.html">GwySerializable</a>.</p>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--color" title='The "color" property'>color</a>"                    <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="type">GwyRGBA</span></a>*              : Read / Write
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--description" title='The "description" property'>description</a>"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--line-style" title='The "line-style" property'>line-style</a>"               <a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkLineStyle"><span class="type">GdkLineStyle</span></a>          : Read / Write
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--line-width" title='The "line-width" property'>line-width</a>"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--mode" title='The "mode" property'>mode</a>"                     <a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphCurveType" title="enum GwyGraphCurveType"><span class="type">GwyGraphCurveType</span></a>     : Read / Write
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--point-size" title='The "point-size" property'>point-size</a>"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel--point-type" title='The "point-type" property'>point-type</a>"               <a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphPointType" title="enum GwyGraphPointType"><span class="type">GwyGraphPointType</span></a>     : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GwyGraphCurveModel.html#GwyGraphCurveModel-data-changed" title='The "data-changed" signal'>data-changed</a>"                                   : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.description"></a><h2>Description</h2>
<p>
<a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> represents information about a graph curve necessary to
fully reconstruct it.
</p>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GwyGraphCurveModel-struct"></a><h3>struct GwyGraphCurveModel</h3>
<pre class="programlisting">struct GwyGraphCurveModel;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModelClass"></a><h3>struct GwyGraphCurveModelClass</h3>
<pre class="programlisting">struct GwyGraphCurveModelClass {
    GObjectClass parent_class;

    void (*data_changed)(GwyGraphCurveModel *model);

    void (*reserved1)(void);
    void (*reserved2)(void);
    void (*reserved3)(void);
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-duplicate"></a><h3>gwy_graph_curve_model_duplicate()</h3>
<pre class="programlisting">#define             gwy_graph_curve_model_duplicate(gcmodel)</pre>
<p>
Convenience macro doing <a href="./../libgwyddion/libgwyddion/GwySerializable.html#gwy-serializable-duplicate"><code class="function">gwy_serializable_duplicate()</code></a> with all the necessary
typecasting.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model to duplicate.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-calibration-data"></a><h3>gwy_graph_curve_model_get_calibration_data ()</h3>
<pre class="programlisting"><a href="./../libgwyprocess/libgwyprocess/GwyCalData.html#GwyCurveCalibrationData"><span class="returnvalue">GwyCurveCalibrationData</span></a> * gwy_graph_curve_model_get_calibration_data
                                                        (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);</pre>
<p>
Get pointer to actual calibration data for curve.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Pointer to the calibration data of present curve (NULL if none).</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-ndata"></a><h3>gwy_graph_curve_model_get_ndata ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gwy_graph_curve_model_get_ndata     (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>number of data points within the curve data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-ranges"></a><h3>gwy_graph_curve_model_get_ranges ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_graph_curve_model_get_ranges    (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> x_logscale</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> y_logscale</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_max</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_max</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-x-range"></a><h3>gwy_graph_curve_model_get_x_range ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_graph_curve_model_get_x_range   (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *x_max</code></em>);</pre>
<p>
Gets the abscissa range of a graph curve.
</p>
<p>
The values are cached in the curve model therefore repeated calls to this
function (with unchanged data) are cheap.
</p>
<p>
If there are no data points in the curve, <em class="parameter"><code>x_min</code></em> and <em class="parameter"><code>x_max</code></em> are untouched
and the function returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<p>
See also <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-ranges" title="gwy_graph_curve_model_get_ranges ()"><code class="function">gwy_graph_curve_model_get_ranges()</code></a> for a more high-level function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_min</code></em> :</span></p></td>
<td>Location to store the minimum abscissa value, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x_max</code></em> :</span></p></td>
<td>Location to store the maximum abscissa value, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</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 there are any data points in the curve and <em class="parameter"><code>x_min</code></em>, <em class="parameter"><code>x_max</code></em>
were set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-xdata"></a><h3>gwy_graph_curve_model_get_xdata ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> *     gwy_graph_curve_model_get_xdata     (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);</pre>
<p>
Gets pointer to x data points.
</p>
<p>
Data are used within the graph and cannot be freed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>X data points, owned by the curve model.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-y-range"></a><h3>gwy_graph_curve_model_get_y_range ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gwy_graph_curve_model_get_y_range   (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *y_max</code></em>);</pre>
<p>
Gets the ordinate range of a graph curve.
</p>
<p>
The values are cached in the curve model therefore repeated calls to this
function (with unchanged data) are cheap.
</p>
<p>
If there are no data points in the curve, <em class="parameter"><code>x_min</code></em> and <em class="parameter"><code>x_max</code></em> are untouched
and the function returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<p>
See also <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-get-ranges" title="gwy_graph_curve_model_get_ranges ()"><code class="function">gwy_graph_curve_model_get_ranges()</code></a> for a more high-level function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_min</code></em> :</span></p></td>
<td>Location to store the minimum ordinate value, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y_max</code></em> :</span></p></td>
<td>Location to store the maximum ordinate value, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</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 there are any data points in the curve and <em class="parameter"><code>x_min</code></em>, <em class="parameter"><code>x_max</code></em>
were set.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-get-ydata"></a><h3>gwy_graph_curve_model_get_ydata ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> *     gwy_graph_curve_model_get_ydata     (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);</pre>
<p>
Gets pointer to y data points.
</p>
<p>
Data are used within the graph and cannot be freed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Y data points, owned by the curve model.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-new"></a><h3>gwy_graph_curve_model_new ()</h3>
<pre class="programlisting"><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="returnvalue">GwyGraphCurveModel</span></a> * gwy_graph_curve_model_new          (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new graph curve model.
</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>New empty graph curve model as a <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-new-alike"></a><h3>gwy_graph_curve_model_new_alike ()</h3>
<pre class="programlisting"><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="returnvalue">GwyGraphCurveModel</span></a> * gwy_graph_curve_model_new_alike    (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>);</pre>
<p>
Creates new graph curve model object that has the same settings as <em class="parameter"><code>gcmodel</code></em>.
</p>
<p>
Curve data are not duplicated.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>New graph curve model.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-set-calibration-data"></a><h3>gwy_graph_curve_model_set_calibration_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_curve_model_set_calibration_data
                                                        (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code>const <a href="./../libgwyprocess/libgwyprocess/GwyCalData.html#GwyCurveCalibrationData"><span class="type">GwyCurveCalibrationData</span></a> *calibration</code></em>);</pre>
<p>
Set calibration data for curve.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>calibration</code></em> :</span></p></td>
<td>Curve calibration data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-set-data"></a><h3>gwy_graph_curve_model_set_data ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_curve_model_set_data      (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</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> *xdata</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> *ydata</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> n</code></em>);</pre>
<p>
Sets curve model data. 
</p>
<p>
If there were calibration data in the former <em class="parameter"><code>gcmodel</code></em>, they are removed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>xdata</code></em> :</span></p></td>
<td>X data points (array of size <em class="parameter"><code>n</code></em>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ydata</code></em> :</span></p></td>
<td>Y data points (array of size <em class="parameter"><code>n</code></em>).</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
<td>Number of points, i.e. items in <em class="parameter"><code>xdata</code></em> and <em class="parameter"><code>ydata</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gwy-graph-curve-model-set-data-from-dataline"></a><h3>gwy_graph_curve_model_set_data_from_dataline ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gwy_graph_curve_model_set_data_from_dataline
                                                        (<em class="parameter"><code><a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gcmodel</code></em>,
                                                         <em class="parameter"><code><a href="./../libgwyprocess/libgwyprocess/GwyDataLine.html"><span class="type">GwyDataLine</span></a> *dline</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> from_index</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> to_index</code></em>);</pre>
<p>
Sets the curve data from <a href="./../libgwyprocess/libgwyprocess/GwyDataLine.html"><span class="type">GwyDataLine</span></a>. The range of import can be
modified using parameters <em class="parameter"><code>from_index</code></em> and <em class="parameter"><code>to_index</code></em> that are
interpreted directly as data indices within the <a href="./../libgwyprocess/libgwyprocess/GwyDataLine.html"><span class="type">GwyDataLine</span></a>.
In the case that <em class="parameter"><code>from_index</code></em> == <em class="parameter"><code>to_index</code></em>, the full <a href="./../libgwyprocess/libgwyprocess/GwyDataLine.html"><span class="type">GwyDataLine</span></a> is used.
</p>
<p>
If there were calibration data in the former <em class="parameter"><code>gcmodel</code></em>, they are removed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gcmodel</code></em> :</span></p></td>
<td>A graph curve model.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dline</code></em> :</span></p></td>
<td>A <a href="./../libgwyprocess/libgwyprocess/GwyDataLine.html"><span class="type">GwyDataLine</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>from_index</code></em> :</span></p></td>
<td>index where to start</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>to_index</code></em> :</span></p></td>
<td>where to stop</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GwyGraphCurveModel--color"></a><h3>The <code class="literal">"color"</code> property</h3>
<pre class="programlisting">  "color"                    <a href="./../libgwydraw/libgwydraw/libgwydraw-GwyRGBA.html#GwyRGBA"><span class="type">GwyRGBA</span></a>*              : Read / Write</pre>
<p>Curve color.</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModel--description"></a><h3>The <code class="literal">"description"</code> property</h3>
<pre class="programlisting">  "description"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Curve description.  It appears on graph key.</p>
<p>Default value: "curve"</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModel--line-style"></a><h3>The <code class="literal">"line-style"</code> property</h3>
<pre class="programlisting">  "line-style"               <a href="/usr/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html#GdkLineStyle"><span class="type">GdkLineStyle</span></a>          : Read / Write</pre>
<p>Curve line style.  Curve mode has to include lines for the line to be visible.</p>
<p>Default value: GDK_LINE_SOLID</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModel--line-width"></a><h3>The <code class="literal">"line-width"</code> property</h3>
<pre class="programlisting">  "line-width"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Curve line width.</p>
<p>Allowed values: [0,100]</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModel--mode"></a><h3>The <code class="literal">"mode"</code> property</h3>
<pre class="programlisting">  "mode"                     <a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphCurveType" title="enum GwyGraphCurveType"><span class="type">GwyGraphCurveType</span></a>     : Read / Write</pre>
<p>Curve plotting mode (line, points, ...).</p>
<p>Default value: GWY_GRAPH_CURVE_LINE</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModel--point-size"></a><h3>The <code class="literal">"point-size"</code> property</h3>
<pre class="programlisting">  "point-size"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Curve point symbol size.</p>
<p>Allowed values: [0,100]</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GwyGraphCurveModel--point-type"></a><h3>The <code class="literal">"point-type"</code> property</h3>
<pre class="programlisting">  "point-type"               <a class="link" href="libgwydgets-gwydgetenums.html#GwyGraphPointType" title="enum GwyGraphPointType"><span class="type">GwyGraphPointType</span></a>     : Read / Write</pre>
<p>Curve point symbol type.  Curve mode has toinclude points for the symbols to be visible.</p>
<p>Default value: GWY_GRAPH_POINT_SQUARE</p>
</div>
</div>
<div class="refsect1">
<a name="GwyGraphCurveModel.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GwyGraphCurveModel-data-changed"></a><h3>The <code class="literal">"data-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> *gwygraphcurvemodel,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>            user_data)               : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre>
<p>
The ::data-changed signal is emitted whenever curve data is set with
a function like <a class="link" href="GwyGraphCurveModel.html#gwy-graph-curve-model-set-data" title="gwy_graph_curve_model_set_data ()"><code class="function">gwy_graph_curve_model_set_data()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>gwygraphcurvemodel</code></em> :</span></p></td>
<td>The <a class="link" href="GwyGraphCurveModel.html" title="GwyGraphCurveModel"><span class="type">GwyGraphCurveModel</span></a> which received the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.8</div>
</body>
</html>