File: standard-vector-layers.html

package info (click to toggle)
gwyddion 2.67-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 54,152 kB
  • sloc: ansic: 412,023; python: 7,885; sh: 5,492; makefile: 4,957; xml: 3,954; cpp: 2,107; pascal: 418; perl: 154; ruby: 130
file content (548 lines) | stat: -rw-r--r-- 27,239 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Standard Vector Layers: Gwyddion Widgets Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Gwyddion Widgets Library Reference Manual">
<link rel="up" href="DataWindowWidgets.html" title="Data Windows and Views">
<link rel="prev" href="GwyColorAxis.html" title="GwyColorAxis">
<link rel="next" href="GraphWidgets.html" title="Graphs">
<meta name="generator" content="GTK-Doc V1.19 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="DataWindowWidgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GwyColorAxis.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GraphWidgets.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="standard-vector-layers"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">Standard Vector Layers</span></h2>
<p>Standard Vector Layers — 
      Vector layers that are distributed with <span class="application">Gwyddion</span>
    </p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="id-1.3.11.3"></a><h2>Overview</h2>
<p>
      Vector layers, implementing means how user can draw on data views, are
      provided by layer modules, so that third party tools (implemented by
      tool modules)
      can define their own means of user interaction.
    </p>
<p>
      There are several standard layers distributed with <span class="application">Gwyddion</span>,
      and their features and interface is the subject of this section.
      All layers are subclasses of <a class="link" href="GwyVectorLayer.html" title="GwyVectorLayer">GwyVectorLayer</a>
      sharing its basic interface.
      Each layer lets the user draw or select different shapes, therefore each module also
      defines its own selection object type determining the format of selection data.
      All selections are subclasses of <a href="../GwySelection.html#GwySelection-struct">GwySelection</a>.
      By convention, layer type Foo is called GwyLayerFoo and the corresponding selection
      type GwySelectionFoo.
    </p>
<p>
      Layers and selections sometimes have additional object properties not present in the
      base classes, these are described here too.
    </p>
</div>
<div class="refsect1">
<a name="id-1.3.11.4"></a><h2>GwyLayerAxis, GwySelectionAxis</h2>
<pre class="synopsis">
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerAxis"), NULL);
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionAxis"), NULL);
    </pre>
<p>
      The layer allows selecting one or more horizontal or vertical (full-width
      or full-height) lines, called axes.  It can be also viewes as a way to
      select separate x or y coordinates.
    </p>
<p>
      Selection data consists of single coordinates.
      More precisely, of y-coordinates for horizontal axes and x-coordinates for vertical
      axes.  Each coordinate represents a selected axis.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.4.5"></a>GwyLayerAxis properties</h3></div></div></div>
<p>None.</p>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.4.6"></a>GwySelectionAxis properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><a name="GwySelectionAxis--orientation"></a>"<code class="literal">orientation</code>" (<a href="../libgwyprocess-gwyprocessenums.html#GwyOrientation">GwyOrientation</a> : Read / Write)</span></p></td>
<td><p>
              Line orientation: horizontal or vertical.
              The default orientation is horizontal.
            </p></td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.5"></a><h2>GwyLayerCross, GwySelectionCross</h2>
<pre class="synopsis">
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerCross"), NULL);
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionCross"), NULL);
    </pre>
<p>
      The layer allows selecting a number of simultaneous horizontal and vertical
      lines.  Usually the selection is displayed as a large cross, but it can
      also show only the horizontal and vertical lines or just the cross point
      marker.
    </p>
<p>
      Selection data consists of coordinate pairs (x, y) representing selected
      cross centres.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.5.5"></a>GwyLayerCross properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwyLayerCross--draw-horizontal"></a>"<code class="literal">draw-horizontal</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether the horizontal line should be drawn.
              The default is draw the horizontal line.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerCross--draw-vertical"></a>"<code class="literal">draw-vertical</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether the vertical line should be drawn.
              The default is draw the vertical line.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerCross--thickness"></a>"<code class="literal">thickness</code>" (gint : Read / Write)</span></p></td>
<td><p>
              Width of orthogonal ticks at line ends.
              The default is no ticks.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.5.6"></a>GwySelectionCross properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.6"></a><h2>GwyLayerEllipse, GwySelectionEllipse</h2>
<pre class="synopsis">
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerEllipse"), NULL);
<a href="http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionEllipse"), NULL);
    </pre>
<p>
      The layer allows selecting a number of ellipses.
    </p>
<p>
      Selection data consists of quadruples of coordinates (x<sub>0</sub>,
      y<sub>0</sub>, x<sub>1</sub>, y<sub>1</sub>),
      each representing one selected ellipse, where
      x<sub>0</sub> and y<sub>0</sub> are coordinates of one
      bounding box corner and x<sub>1</sub> and y<sub>1</sub>
      of the opposite corner. Each one can be any of the four bounding box corners, there
      is no guarantee one is for example always top-left.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.6.5"></a>GwyLayerEllipse properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwyLayerEllipse--draw-reflection"></a>"<code class="literal">draw-reflection</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether central reflection of selection should be drawn too.
              The default is to not draw reflection.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerEllipse--snap-to-center"></a>"<code class="literal">snap-to-center</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether the selection should snap to the center. The default is
              not to snap.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.6.6"></a>GwySelectionEllipse properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.7"></a><h2>GwyLayerLine, GwySelectionLine</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerLine"), NULL);
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionLine"), NULL);
    </pre>
<p>
      The layer allows selecting one or more lines of arbitrary orientation and
      length, optionally can display line numbers next to each line.
    </p>
<p>
      Selection data consists of quadruples of coordinates (x<sub>0</sub>,
      y<sub>0</sub>, x<sub>1</sub>, y<sub>1</sub>),
      each representing one selected line, where
      x<sub>0</sub> and y<sub>0</sub> are
      coordinates of one line end and x<sub>1</sub> and y<sub>1</sub>
      of the other end.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.7.5"></a>GwyLayerLine properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwyLayerLine--line-numbers"></a>"<code class="literal">line-numbers</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether line numbers should be displayed next to them.
              The default is to show line numbers.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerLine--thickness"></a>"<code class="literal">thickness</code>" (gint : Read / Write)</span></p></td>
<td><p>
              Width of orthogonal ticks at line ends.
              The default is no ticks.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerLine--center-tick"></a>"<code class="literal">center-tick</code>" (gboolean : Read / Write)</span></p></td>
<td>
<p>
              Whether an tick is drawn in the line centre.
              The default is not to drawn the central tick.
            </p>
<p class="since">Since: 2.42</p>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.7.6"></a>GwySelectionLine properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.8"></a><h2>GwyLayerPoint, GwySelectionPoint</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerPoint"), NULL);
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionPoint"), NULL);
    </pre>
<p>
      The layer allows selecting a number of points, either displayed as
      crosses, crosses with concentric circles, or with no graphical
      representation (the latter mainly useful with only one selected point).
    </p>
<p>
      Selection data consists of coordinate pairs (x, y) representing selected points.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.8.5"></a>GwyLayerPoint properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwyLayerPoint--draw-marker"></a>"<code class="literal">draw-marker</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              If set to TRUE, points will be displayed. Otherwise they will be invisible.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerPoint--marker-radius"></a>"<code class="literal">marker-radius</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Specifies the radius of the circle to draw around all selected points.
              If set to zero and/or if "<code class="literal">draw-marker</code>" is
              set to FALSE, no circle will be drawn.
              The default radius is zero.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerLine--point-numbers"></a>"<code class="literal">point-numbers</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether point numbers should be displayed next to them.
              The default is not to show point numbers.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerLine--draw-as-vector"></a>"<code class="literal">draw-as-vector</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether points should be instead drawn as vector from the origin.
              This setting may interact poorly with other drawing options.
              The default is to draw points as points.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.8.6"></a>GwySelectionPoint properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.9"></a><h2>GwyLayerRectangle, GwySelectionRectangle</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerRectangle"), NULL);
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionRectangle"), NULL);
    </pre>
<p>
      The layer allows selecting a number of rectangles, that can be drawn with
      a couple of fancy/special styles.
    </p>
<p>
      Selection data consists of quadruples of coordinates (x<sub>0</sub>,
      y<sub>0</sub>, x<sub>1</sub>, y<sub>1</sub>),
      each representing one selected rectangle, where
      x<sub>0</sub> and y<sub>0</sub> are coordinates of one corner
      and x<sub>1</sub> and y<sub>1</sub>
      of the opposite corner. Each one can be any of the four rectangle corners, there
      is no guarantee one is for example always top-left.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.9.5"></a>GwyLayerRectangle properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwyLayerRectangle--is-crop"></a>"<code class="literal">is-crop</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether lines should be drawn always from border to border, as in the Crop tool.
              The default is to draw just outline of the selected rectangle.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerRectangle--draw-reflection"></a>"<code class="literal">draw-reflection</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether central reflection of selection should be drawn too.
              The default is to not draw reflection.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerRectangle--snap-to-center"></a>"<code class="literal">snap-to-center</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether the selection should snap to the center. The default is
              to not snap.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.9.6"></a>GwySelectionRectangle properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.10"></a><h2>GwyLayerLattice, GwySelectionLattice</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerLattice"), NULL);
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionLattice"), NULL);
    </pre>
<p>
      The layer allows selecting a pair of two-dimensional vectors, that
      represent a lattice in the plane.
      The selection is also visualised as a lattice.
    </p>
<p>
      Selection data consists of quadruples of coordinates (x<sub>0</sub>,
      y<sub>0</sub>, x<sub>1</sub>, y<sub>1</sub>),
      each representing the two selected lattice vectors, where
      x<sub>0</sub> and y<sub>0</sub> are coordinates of one vector
      and x<sub>1</sub> and y<sub>1</sub>
      of the other.
    </p>
<p>
      Although the selection can contain multiple such pairs, the layer ignores all except
      the first one.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.10.6"></a>GwyLayerLattice properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><a name="GwyLayerLattice--n-lines"></a>"<code class="literal">n-lines</code>" (guint : Read / Write)</span></p></td>
<td><p>
              The number of grille lines drawn along each vector.
            </p></td>
</tr></tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.10.7"></a>GwySelectionLattice properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.11"></a><h2>GwyLayerProjective, GwySelectionProjective</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerProjective"), NULL);
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionProjective"), NULL);
    </pre>
<p>
      The layer allows selecting tetragons representing perspective projections of
      a rectangle in the plane.
      The selection is visualised as the perspective rectangle, possibly with
      a grid inside.
    </p>
<p>
      Selection data consists of octuples of coordinates (x<sub>0</sub>,
      y<sub>0</sub>, x<sub>1</sub>, y<sub>1</sub>,
      x<sub>2</sub>, y<sub>2</sub>, x<sub>3</sub>,
      y<sub>3</sub>),
      each representing the four vertices 0, 1, 2 and 3, in order around the perimeter.
    </p>
<p>
      Although the selection can contain multiple such tetragon, the layer ignores all except
      the first one.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.11.6"></a>GwyLayerProjective properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwyLayerProjective--n-lines"></a>"<code class="literal">n-lines</code>" (guint : Read / Write)</span></p></td>
<td><p>
              The number of grille lines drawn inside the tetragon.
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwyLayerProjective--convex"></a>"<code class="literal">convex</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether editing the tetragon must leave it convex and non-degenerated.
              The result of programatically setting a non-convex selection when convex is TRUE is undefined.
              The default is to only allow convex tetragons.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.11.7"></a>GwySelectionProjective properties</h3></div></div></div>
<p>None.</p>
</div>
</div>
<div class="refsect1">
<a name="id-1.3.11.12"></a><h2>GwyLayerPath, GwySelectionPath</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwyLayerPath"), NULL);
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject*</a>    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a>(<a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-from-name">g_type_from_name</a>("GwySelectionPath"), NULL);
    </pre>
<p>
      The layer allows selecting a long spline curve passing through given
      points.
    </p>
<p>
      Selection data consists of coordinate pairs (x, y) representing the
      points defining the curve.  The curve is implicitly oriented from the
      first pair to the last one.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.12.5"></a>GwyLayerPath properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><a name="GwyLayerPath--thickness"></a>"<code class="literal">thickness</code>" (gint : Read / Write)</span></p></td>
<td><p>
              Width of orthogonal ticks at line ends.
              The default is no ticks.
            </p></td>
</tr></tbody>
</table></div>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.3.11.12.6"></a>GwySelectionPath properties</h3></div></div></div>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a name="GwySelectionPath--slackness"></a>"<code class="literal">closed</code>" (gdouble : Read / Write)</span></p></td>
<td><p>
              How much the curve is slack/taut, from the interval [0, sqrt(2)].
              Value of 0 corresponds to completely taut curve, i.e. straight
              lines connecting the points.
              Value of 1 corresponds to free curve.
              The default value is 1/sqrt(2).
            </p></td>
</tr>
<tr>
<td><p><span class="term"><a name="GwySelectionPath--closed"></a>"<code class="literal">closed</code>" (gboolean : Read / Write)</span></p></td>
<td><p>
              Whether the curve is closed, i.e. continues smoothly from the
              last point back to the first point.
              The default is open-ended (not closed) curve.
            </p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.19</div>
</body>
</html>