aboutsummaryrefslogtreecommitdiff
path: root/doc/refman.tex
blob: 6a44b30c4f14fc20c8bfd89dc4005876234f3edb (plain)
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
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
\documentclass[11pt,twoside]{report}
\usepackage{a4wide}
\usepackage{html}
\usepackage{makeidx}


\newcommand{\cident}[1] {%
  {\tt #1}}

\newcommand{\ident}[1] {%
  {\tt\large #1}}

\newcommand{\option}[3]{%
  \label{opt:#1}
  \index{#1}
  \htmlrule[WIDTH="300" left]
  \begin{tabular}{rl}
    Command line switch: & \ident{-#1} \\
    Database name: & \ident{#2} \\
    Database class: & \ident{#3} \\
  \end{tabular}}

\newcommand{\command}[3]{%
  \label{cmd:#2}
  \index{#2}
  \htmlrule[WIDTH="300" left]
  {\tt\large #1 {\bf #2} #3}}

\newcommand{\zinccmd}[2]{%
  \command{pathname}{#1}{#2}}

\newcommand{\mapinfocmd}[3]{%
  \label{mpcmd:#2}
  \index{#2}
  \htmlrule[WIDTH="300" left]
  {\tt\large mapinfo #1 {\bf #2} #3}}

\newcommand{\attribute}[2]{%
  \label{attr:#1}
  \index{#1}
  \htmlrule[WIDTH="300" left]
  {\tt {\bf -#1} #2}
  \vspace{-2\parskip}}

\newcommand{\available}[1]{%
  \hyperref[page]{\ident{#1}}{\ident{#1} (}{)}{obj:#1}}

\newcommand{\optref}[1]{%
  \hyperref[page]{\ident{#1}}{\ident{#1} (}{)}{opt:#1}
  }

\newcommand{\cmdref}[1]{%
  \hyperref[page]{\ident{#1}}{\ident{#1} (}{)}{cmd:#1}
  }

\newcommand{\attrref}[1]{%
  \hyperref[page]{\ident{-#1}}{\ident{-#1} (}{)}{attr:#1}
  }

\newcommand{\object}[1]{%
  \label{obj:#1}
  }

\newcommand{\concept}[1]{%
  \label{concept:#1}
  }

\newcommand{\objectref}[1]{%
  \hyperref[page]{\ident{#1}}{\ident{#1} (}{)}{cmd:#1}
  }

\newcommand{\conceptref}[2]{%
  \hyperref[page]{#1}{#1 (page }{)}{concept:#2}
  }


\newenvironment{blockindent}{\begin{quotation}}{\end{quotation}\vspace{\parskip}}


\makeindex

\parindent 0cm
\parskip 0.2cm

\title{Zinc reference manual\\Version 3.0}
\author{Patrick Lecoanet}
\date{7 Feb 2000}


\begin{document}

\maketitle


  This reference manual describes the Tk \ident{zinc} widget interface. It shows
  how to create and configure a \ident{zinc} widget, and how to use the commands
  it provides to create and manipulate items.



\chapter{Widget options}
\concept{options}
  \option{borderwidth}{borderWidth}{BorderWidth}
  \begin{blockindent}
    Specifies the width of the 3d border that should be displayed around the widget
    window. This border does not overlap the active zinc display area. The area
    requested from the geometry manager (or the window manager if applicable) is the
    overall area, display area plus borders. This value can be given in any of
    the forms valid for coordinates (See \cident{TkGet\_Pixels}). The default value is 2 pixels.
  \end{blockindent}
  
  \option{backcolor}{backColor}{BackColor}
  \begin{blockindent}
    This the color that will be used to fill the zinc window. It is also
    used as a default color for some item attributes of type color. See each
    color attribute for the actual source of the default color. Its default
    value is white.
  \end{blockindent}
  
  \option{cursor}{cursor}{Cursor}
  \begin{blockindent}
    Specifies the cursor to use when the pointer is in the zinc window.
    The default value is set to preserve the cursor provided at widget
    creation.
  \end{blockindent}
  
  \option{font}{font}{Font}
  \begin{blockindent}
    The font specified by this option is used as a default font
    for item attributes of type font. Its default value is
    -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*.
  \end{blockindent}
  
  \option{forecolor}{foreColor}{ForeColor}
  \begin{blockindent}
    The color specified by this option is used as a default color
    for many item attributes of type color. See each each color
    attribute for the actual source of the default color. Its
    default value is black.
  \end{blockindent}

  \option{height}{height}{Height}
  \begin{blockindent}
    Specifies the height of the actual zinc area (i.e, this dimension
    does not include the border width). This value can be given in any of
    the forms valid for coordinates (See \cident{Tk\_GetPixels}). The default is
    100 pixels.
  \end{blockindent}
  
  \option{mapdistancesymbol}{mapDistanceSymbol}{MapDistanceSymbol}
  \begin{blockindent}
    This option specifies the symbol to be used as a milestone
    along map lines. This option can be given any Tk bitmap which
    can be obtained by \cident{Tk\_GetBitmap}. The spacing between markers is
    10 nautic miles. The default value is AtcSymbol19.
  \end{blockindent}
  
  \option{maptextfont}{mapTextFont}{MapTextFont}
  \begin{blockindent}
    Specifies the font used to draw the texts contained in maps. The
    default is -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*.
  \end{blockindent}
  
  \option{overlapmanager}{overlapManager}{OverlapManager}
  \begin{blockindent}
    This option accepts an item id. It specifies if the label overlapping
    avoidance algorithm should be allowed to do its work on the track labels
    and which group should be considered to look for tracks. The default
    is to enable the avoidance algorithm in the top group (id 1).
  \end{blockindent}
  
  \option{pickaperture}{pickAperture}{PickAperture}
  \begin{blockindent}
    Specifies the size of an area around the pointer that is used to tell
    if the pointer is inside an item. This is useful to lessen the precision
    required when picking graphical elements. This value must be a positive
    integer. It defaults to 1.
  \end{blockindent}

  
  \option{relief}{relief}{Relief}
  \begin{blockindent}
    Specifies the border relief. This option can be given any legal value
    for a relief (See \cident{Tk\_GetRelief} for a description of possible values).
  \end{blockindent}

  
  \option{speedvectorlength}{speedVectorLength}{SpeedVectorLength}
  \begin{blockindent}
    Specifies the duration of track speed vectors. This option is expressed
    using a time unit that should be chosen by the application (often minutes)
    and kept coherent with the unit of the track attribute \attrref{speedvector}
    (often nautic mile / minutes). The default value is 3.
  \end{blockindent}

  
  \option{trackmanagedhistorysize}{trackManagedHistorySize}{TrackManagedHistorySize}
  \begin{blockindent}
    This option accepts only positive integers. It specifies the size of
    the past position list that can be maintained by the track items. See
    also the \optref{trackmanagehistory} option and the \attrref{visiblehistorysize}
    track attribute. The default value is 6.
  \end{blockindent}

  
  \option{trackmanagehistory}{trackManageHistory}{TrackManageHistory}
  \begin{blockindent}
    This option accepts any form valid for a boolean. It specifies if
    the track items should maintain a list of their past positions to be
    displayed as trailing speckles. If this option is turned off and then
    back on, the history list is erased and the collection is resumed at
    the next available position. The number of position collected in the
    history list is specified by the option \optref{trackmanagedhistorysize}.
    When this many positions are collected, the oldest is dropped to make
    room for the new one on a first in first out basis. The number of past
    positions actually displayed if specified for each track by the
    attribute \attrref{visiblehistorysize}.
    The default value is to enable the history collection.
  \end{blockindent}

  
  \option{width}{width}{Width}
  \begin{blockindent}
    Specifies the width of the actual zinc area (i.e, this dimension
    does not include the border width). This value can be given in any of
    the forms valid for coordinates (See \cident{Tk\_GetPixels}). The default is
    100 pixels.
  \end{blockindent}

  
\chapter{Item IDs and Tags}
\concept{tagOrId}
Décrire les ids, tags, field tags et part tags. Les deux derniers
n'étant employes que par bind doit-on les décrire ici ou dans la commande ?
Parler de current, all.


\chapter{Coordinates and transformations}

\chapter{Widget commands}

  The available commands are listed in alphabetical order.
  
  The command set for the \ident{zinc} widget is much inspired by the \ident{canvas}
  command set. Someone comfortable with the \ident{canvas} should not have much trouble
  using the \ident{zinc}'s commands. Eventually, the command set will be a superset
  of the \ident{canvas} command set.

\vspace{.5cm}  
\zinccmd{add}{?type group? ?args? ?option value? ... ?option? value?}
  \begin{blockindent}
    This command is used to create new items in a zinc widget. It can be called with
    no parameters to return the list of all item types currently known by
    the zinc widget. It can also be called with a valid item type as first parameter
    and a group item as second parameter to create a new item of this type in
    the given group. The other arguments vary with the type of item. A detailed
    description of these arguments is given in the sections on the individual item
    types. Following the creation args the command accept any number of
    attributes\ -\ values pairs to configure the newly created item.
    All the configurable item type attributes are valid in this context. The
    command returns the item id.
  \end{blockindent}

\zinccmd{addtag}{tag searchSpec ?arg arg ...?}
  \begin{blockindent}
     This command add the given tag to all items matching the
     search specification. If the tag is already present on some item,
     nothing is done for this item. The command has no effect if no
     items satisfy the given criteria. The command returns en empty
     string. The search specification an the associated arguments can
     take the following forms:
     \begin{description}
     \item{\tt above tagOrId ?inGroup?} \\
       Selects the item just above the one given by {\tt tagOrId}. If
       {\tt tagOrId} names more than one item, the topmost of these
       items in the display list will be used. If {\tt tagOrId} does
       not refer to any item then nothing happen.

     \item{\tt all ?inGroup?} \\
       Selects all the items in the widget.

     \item{\tt atpoint x y ?halo? ?start?} \\
       Selects the item under or closest to the point {\tt x - y}. If more
       than one item overlaps the point, the top-most is selected. If {\tt halo}
       is given, it defines the size of the point {\tt x - y}. {\tt halo} must
       be a non negative integer. If {\tt start} is specified, it must be
       an item tag or id. If it names a valid item (for a tag, the lowest
       item with the tag is considered), the search starts with the item
       below {\tt start} instead of the first item in the display
       order. If {\tt start} does not name a valid item, it is ignored.

     \item{\tt atpriority priority ?inGroup?} \\
       Selects all the items at the given priority.

     \item{\tt below tagOrId ?inGroup?} \\
       Selects the item just below the one given by {\tt tagOrId}. If
       {\tt tagOrId} names more than one item, the lowest of these
       items in the display list will be used. If {\tt tagOrId} does
       not refer to any item then nothing happen.

     \item{\tt enclosed xo yo xc yc ?inGroup?} \\
       Selects all the items completely enclosed in the rectangle whose
       origin is at {\tt xo - yo} and corner at {\tt xc - yc}. {\tt xc}
       must be no greater than {\tt xo} and {\tt yo} must be no greater
       than {\tt yc}. All coordinates must be integers.

     \item{\tt overlapping xo yo xc yc ?inGroup?} \\
       Selects all the items that overlaps or are enclosed in the rectangle
       whose origin is at {\tt xo - yo} and corner at {\tt xc - yc}. {\tt xc}
       must be no greater than {\tt xo} and {\tt yo} must be no greater than
       {\tt yc}. All coordinates must be integers.

     \item{\tt withtag tagOrId ?inGroup?} \\
       Selects all the items given by {\tt tagOrId}.

     \item{\tt withtype type ?inGroup?} \\
       Selects all the items of type {\tt type}.
     \end{description}
  \end{blockindent}

\zinccmd{anchorxy}{tagOrId anchor}
  \begin{blockindent}
    Returns the (device) coordinate of an item anchor. If no item is
    named by {\tt tagOrId} or if the item doesn't support anchors, an
    error is raised. If more than one item match {\tt tagOrId}, one of
    those is used, the exact one is implementation specific.
  \end{blockindent}
    
\zinccmd{becomes}{}
  \begin{blockindent}
    Not yet implemented.
  \end{blockindent}

\zinccmd{bbox}{tagOrId ?tagOrId ...?}
  \begin{blockindent}
    Returns a list of 4 numbers describing the (device) coordinates of the origin
    and corner of a rectangle bounding all the items named by the {\tt tagOrId}
    arguments. If no items are named by the {\tt tagOrId} or if the matching items
    have an empty bounding box, an empty string is returned.
  \end{blockindent}

\zinccmd{bind}{tagOrId ?sequence? ?command?}
  \begin{blockindent}
    This command associates {\tt command} with the item tag, item id, part tag
    {\tt tagOrId}. If an event sequence matching {\tt sequence}
    occurs for an item, or an item part, the command will be invoked.
    If all parameters are specified a new binding between {\tt sequence} and
    {\tt command} is established, overriding any existing binding for the
    sequence. If the first character of {\tt command} is ``+'', then
    {\tt command} augments the existing binding instead of replacing it.
    In this case the command returns an empty string. If the {\tt command}
    parameter is omitted, the command return the {\tt command} associated
    with {\tt tagOrId} and {\tt sequence} or an error is raised if there
    is no such binding. If only {\tt tagOrId} is specified the command
    returns a list of all the sequences for which there are bindings for
    {\tt tagOrId}.
    
    This widget command is similar to the \ident{bind} command except that
    it operates on \ident{zinc} items instead of widgets. Another difference
    with the \ident{bind} command is that only mouse and keyboard related events
    can be specified (such as \ident{Enter}, \ident{Leave}, \ident{ButtonPress},
    \ident{ButtonRelease}, \ident{Motion}, \ident{KeyPress}, \ident{KeyRelease}).
    The \ident{bind} manual page is the most accurate place to look for a
    definition of {\tt sequence} and {\tt command} and for a general understanding
    of how the binding mecanism works.

    The handling of events in the widget is done with respect to the
    current item and when applicable the current item part (see
    \conceptref{Item IDs and tags}{tagOrId} for a discussion of the
    \ident{current} tag and the special tags used in bindings). \ident{Enter}
    and \ident{Leave} events are trigerred for an item when it becomes or cease
    to be the current item. Mouse related events are reported with respect to
    the current item. Keyboard related events are reported with respect to the
    focus item (which can be the current item or none).

    It is possible that several bindings match a particular event sequence.
    When this occurs, all matching bindings are triggered. The order of
    invocation is as follow: the binding associated with the tag \ident{all}
    is invoked first, followed by the bindings associated with the item tags
    in order, followed by the binding associated with the item id, followed
    by the binding associated with the item part if relevant.
    If there are more than one binding for a single tag, only the most
    specific is triggered.
    
    If bindings have been registered for the widget window using the
    \ident{bind} command, they are invoked in addition to bindings registered
    for the items using this widget command. The bindings for items will be
    invoked before the bindings for the window.
  \end{blockindent}

\zinccmd{cget}{option}
  \begin{blockindent}
    Returns the current value of the widget option given by {\tt option}.
    {\tt option} may be any of the options described in the
    chapter \conceptref{Widget options}{options}.
  \end{blockindent}

\zinccmd{chggroup}{tagOrId group ?adjustTransform?}
  \begin{blockindent}
  \end{blockindent}

\zinccmd{clone}{tagOrId ?option value ...?}
  \begin{blockindent}
  \end{blockindent}

\zinccmd{configure}{?option? ?value? ?option value ...?}
  \begin{blockindent}
    Query or modify the options of the widget. If no {\tt option}
    is given, returns a list describing all the supported options (see the
    chapter \conceptref{Widget options}{options}). If an {\tt option} is
    specified without any {\tt value}, the command returns a list
    describing the named option (this list is identical to the corresponding
    sublist of the value returned if no {\tt option} is given). If some
    {\tt option - value} pairs are given, then the corresponding options
    are changed and the command return an empty string.
  \end{blockindent}

\zinccmd{coords}{tagOrId ?add/remove? ?contour? ?index? ?coordList?}
  \begin{blockindent}
    This command understands the following forms:

    .r coords tagOrId contour
       Get all coordinates of contour.
       
    .r coords tagOrId contour coordList
       Set all coordinates of contour.

    .r coords tagOrId contour index
       Get coordinate at index in contour.
       
    .r coords tagOrId contour index coordList
       Set coordinate at index in contour.
       
    .r coords tagOrId remove contour index
       Remove coordinate at index in contour.
       
    .r coords tagOrId add contour coordList
       Add coordinates at the end of contour.
           
    .r coords tagOrId add contour index coordList
       Add coordinates at in index in contour.
           
    And the slightly abbreviated forms:
    
    .r coords tagOrId
       Get all coordinates of contour 0.
       
    .r coords tagOrId coordList
       Set all coordinates of contour 0.

    .r coords tagOrId remove index
       Remove coordinate at index in contour 0.
       
    .r coords tagOrId add coordList
       Add coordinates at the end of contour 0.
       
  \end{blockindent}

\zinccmd{currentpart}{}
  \begin{blockindent}
    Returns an integer specifying the item part over which the pointer is.
    If the current item doesn't have parts or if the pointer is not over
    an item (no item has the \ident{current} tag) the command return -1.
  \end{blockindent}

\zinccmd{dtag}{tagOrId ?tagToDelete?}
  \begin{blockindent}
    Delete the tag {\tt tagToDelete} from the list of tags associated
    with each item named by {\tt tagOrId}. If an item doesn't have
    the tag then it is leaved unaffected. If {\tt tagToDelete} is
    omitted, {\tt tagOrId} is used instead. The command returns an
    empty string as result.
  \end{blockindent}

\zinccmd{find}{searchCommand ?arg arg ...?}
  \begin{blockindent}
    This command returns the list of all items selected by {\tt searchCommand}
    and the {\tt args}. See the \cmdref{addtag} command for an explanation of
    {\tt searchCommand} and the various {\tt args}. The items are sorted in
    drawing order, topmost first.
  \end{blockindent}

\zinccmd{gettags}{tagOrId}
  \begin{blockindent}
    This command returns the list of all the tags associated with
    the item specified by {\tt tagOrdId}. If more than one item is
    named by {\tt tagOrdId}, then one of these items (selection is
    implementation specific) is used to return the result. If no
    item is named by {\tt tagOrdId}, then the empty list is returned.
  \end{blockindent}

\zinccmd{group}{tagOrId}
  \begin{blockindent}
  \end{blockindent}

\zinccmd{hasanchors}{tagOrId}
  \begin{blockindent}
    This command returns a boolean telling if the item specified by
    {\tt tagOrdId} supports anchors. If more than one item is named by
    {\tt tagOrdId}, then one of these items (selection is implementation
    specific) is used to return the result. If no items are named by
    {\tt tagOrdId}, an error is raised.
  \end{blockindent}

\zinccmd{hasfields}{tagOrId}
  \begin{blockindent}
    This command returns a boolean telling if the item specified by
    {\tt tagOrdId} supports fields. If more than one item is named by
    {\tt tagOrdId}, then one of these items (selection is implementation
    specific) is used to return the result. If no items are named by
    {\tt tagOrdId}, an error is raised.
  \end{blockindent}

\zinccmd{hasparts}{tagOrId}
  \begin{blockindent}
    This command returns a boolean telling if the item specified by
    {\tt tagOrdId} has parts. If more than one item is named by
    {\tt tagOrdId}, then one of these items (selection is implementation
    specific) is used to return the result. If no items are named by
    {\tt tagOrdId}, an error is raised.
  \end{blockindent}

\zinccmd{hastag}{tagOrId tag}
  \begin{blockindent}
    This command returns a boolean telling if the item specified by
    {\tt tagOrdId} has the specified tag. If more than one item is
    named by {\tt tagOrdId}, then one of these items (selection is
    implementation specific) is used to return the result. If no items
    are named by {\tt tagOrdId}, an error is raised.
  \end{blockindent}

\zinccmd{itemcget}{tagOrId ?field? attr}
  \begin{blockindent}
    To be written
  \end{blockindent}

\zinccmd{itemconfigure}{tagOrId ?field? ?attr? ?value? ?attr value ...?}
  \begin{blockindent}
    To be written
  \end{blockindent}

\zinccmd{lower}{tagOrId ?belowThis?}
  \begin{blockindent}
    Reorder all the items given by {\tt tagOrId} so that they will be
    under the item given by {\tt belowThis}. If {\tt tagOrId} name more
    than one item, their relative order will be preserved. If
    {\tt tagOrId} doesn't name an item, an error is raised. If
    {\tt belowThis} name more than one item, the bottom most them is used.
    If {\tt belowThis} doesn't name an item, an error is raised. If
    {\tt belowThis} is omitted the items are put at the bottom most
    position. The command returns an empty string.
    As a side affect of this command, the \attrref{priority} attribute of
    all the reordered items is ajusted to match the priority of the
    {\tt belowThis} item (or the priority of the bottom most item).
  \end{blockindent}

\zinccmd{monitor}{?onOff?}
  \begin{blockindent}
  \end{blockindent}

\zinccmd{raise}{tagOrId ?aboveThis?}
  \begin{blockindent}
    Reorder all the items given by {\tt tagOrId} so that they will be
    above the item given by {\tt aboveThis}. If {\tt tagOrId} name more
    than one item, their relative order will be preserved. If
    {\tt tagOrId} doesn't name an item, an error is raised. If
    {\tt aboveThis} name more than one item, the top most is used.
    If {\tt aboveThis} doesn't name an item, an error is raised. If
    {\tt aboveThis} is omitted the items are put at the top most
    position. The command returns an empty string.
    As a side affect of this command, the \attrref{priority} attribute of
    all the reordered items is ajusted to match the priority of the
    {\tt aboveThis} item (or the priority of the top most item).
  \end{blockindent}

\zinccmd{remove}{tagOrId ?tagOrId ...?}
  \begin{blockindent}
    Delete all the items named by each {\tt tagOrId}. The
    command returns an empty string.
  \end{blockindent}

\zinccmd{rotate}{tagOrId angle ?centerX centerY?}
  \begin{blockindent}
    Add a rotation to the items or the transform described by
    {\tt tagOrId}. If {\tt tagOrId} describe a named transform
    then this transform is used to do the operation. If {\tt tagOrId}
    describe more than one item then all the items are affected by
    the opration. If {\tt tagOrId} describe neither a named transform
    nor an item, an error is raised. The angle is given in radians.
    The optional parameters describe the center of rotation, which
    defaults to the origin.
  \end{blockindent}

\zinccmd{scale}{tagOrId xFactor yFactor}
  \begin{blockindent}
    Add a scale factor to the items or the transform described by
    {\tt tagOrId}. If {\tt tagOrId} describe a named transform
    then this transform is used to do the operation. If {\tt tagOrId}
    describe more than one item then all the items are affected by
    the opration. If {\tt tagOrId} describe neither a named transform
    nor an item, an error is raised. A separate factor is specified for
    X and Y.
  \end{blockindent}

\zinccmd{tapply}{}
  \begin{blockindent}
    To be implemented.
  \end{blockindent}

\zinccmd{tdelete}{tName}
  \begin{blockindent}
    Destroy a named transform. If the given name is not found
    among the named transforms, an error is raised.
  \end{blockindent}

\zinccmd{transform}{?tagOrIdFrom? tagOrIdTo coordList}
\begin{blockindent}
  This command returns a list of coordinates obtained by transforming
  the coordinates given in {\tt coordList} from the coordinate space
  of the transform or item described by {\tt tagOrIdFrom} to the
  coordinate space of the transform or item described by {\tt tagOrIdTo}.
  If {\tt tagOrIdFrom} is omitted it defaults to the device coordinate
  space. If either {\tt tagOrId} describe more than one item, one is
  selected in a system specific way. If either {\tt tagOrId} describe
  neither a transform nor an item, an error is raised.
\end{blockindent}

\zinccmd{translate}{tagOrId xAmount yAmount}
  \begin{blockindent}
    Add a translation to the items or the transform described by
    {\tt tagOrId}. If {\tt tagOrId} describe a named transform
    then this transform is used to do the operation. If {\tt tagOrId}
    describe more than one item then all the items are affected by
    the opration. If {\tt tagOrId} describe neither a named transform
    nor an item, an error is raised. A separate value is specified for
    X and Y.
  \end{blockindent}

\zinccmd{treset}{tagOrId}
  \begin{blockindent}
    Set the named transform or the transform for the items described
    by {\tt tagOrId} to identity. If {\tt tagOrId} describe neither
    a named transform nor an item, an error is raised.
  \end{blockindent}

\zinccmd{trestore}{tagOrId tName}
  \begin{blockindent}
    Set the transform for the items described by {\tt tagOrId} to the
    transform named by {\tt tName}. If {\tt tagOrId} doesn't describe
    any item or if the transform named {\tt tName} doesn't exist, an
    error is raised.
  \end{blockindent}

\zinccmd{tsave}{tagOrId tName}
  \begin{blockindent}
    Create (or reset) a transform associated with the name {\tt tName}
    which has for initial value the transform associated with the item
    {\tt tagOrId}. If {\tt tagOrId} describe more than one item, one is
    selected in a system specific way. If {\tt tagOrId} doesn't describe
    any item, an error is raised. If {\tt tName} already exists, the
    transform is set to the new value. This command is the only way to
    create a named transform.
  \end{blockindent}

\zinccmd{type}{tagOrId}
  \begin{blockindent}
    This command returns the type of the item specified by {\tt tagOrdId}.
    If more than one item is named by {\tt tagOrdId}, then the type of
    one of these items (selection is implementation specific) is returned.
    If no items are named by {\tt tagOrdId}, an error is raised.
  \end{blockindent}


\chapter{Attributes description}

\attribute{alignment}{alignment}
\begin{blockindent}
  Specifies the horizontal alignment of an entity.
  The legal values are: left, right, center.
\end{blockindent}

\attribute{anchor}{anchor}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{atomic}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{autoalignment}{autoAlignSpec}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{backcolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{bezier}{boolean}
\begin{blockindent}
  Select whether the points are interpreted as bezier
  controls or simple polygonal vertices.
\end{blockindent}

\attribute{border}{edges}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{bordercolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{brightlinecolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{brightlinestyle}{lineStyle}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{circlehistory}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{clip}{item}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{closed}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{color}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{composerotation}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{composescale}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{connecteditem}{item}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{connectionanchor}{anchor}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{connectioncolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{connectionsensitive}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{connectionstyle}{lineStyle}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{connectionwidth}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{extent}{integer}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{fillcolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{filled}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{filledhistory}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{filledmarker}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{fillpattern}{bitmapName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{firstradius}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{font}{fontName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{frozenlabel}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{image}{imageName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{labelanchor}{anchor}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{labelangle}{number}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{labeldistance}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{labeldx}{number}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{labeldy}{number}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{labelformat}{labelFormat}
\begin{blockindent}
  The new format is as follow. Parameters between [] are
  optional and take default values when omitted. The spaces can appear
  between blocks but not inside.\\
 
        \verb+[WidthxHeight] [field0Spec] [field1Spec] [fieldnSpec]+\\
 
  Width and Height set the size of the clipping box surrounding
  the label. If it is not specified, there will be no clipping.
  It it is specified alone it is the size of the only displayed
  field (0).\\
 
  fieldSpec is:
        \verb+sChar fieldWidth sChar fieldHeight [pChar fieldX pChar fieldY]+.\\
 
  Each field description refers to the field of same index in the field
  array.
  If \verb+sChar+ is \verb+'x'+, the dimension is in pixel. If \verb+sChar+ is
  \verb+'f'+, the dimension is in percentage of the mean width/height of a
  character (in the field font). If \verb+sChar+ is \verb+'i'+, the dimension
  is in percentage of the size of the image in the field. If \verb+sChar+ is
  \verb+'a'+, the dimension is automatically adjusted to match the field's
  content plus the given value in pixels. If \verb+sChar+ is \verb+'l'+,
  the dimension is automatically adjusted to match the global size of the
  label (not counting fields with \verb+'l'+ size specs). The positional
  parameter is not used with this size specification (always 0) and it is not
  possible to reference the field in another field spec. \\
  
  If \verb+pChar+ is \verb-'+'- the position is in pixel (possibly negative).
  If it is \verb+'<'+ the position is the index of the field at the left/top
  of which the current field should be  attached. If it is \verb+'>'+ the
  position is the index of the field at the right/bottom of which the current
  field should be attached. If \verb+pChar+ is \verb+'^'+ the position is
  the index of the field used to align the left/top border (left on left or
  top on top). If \verb+pChar+ is \verb+'$'+ the %$ position is the index
  of the field used to align the right/bottom border (right on right or
  bottom on bottom).\\
  
  The positional parameters can be omitted if there is only one field.  
\end{blockindent}

\attribute{leaderanchors}{leaderanchors}
\begin{blockindent}
  Describe where to attach the label leader on the label. These are not
  to be confused with the regular rectangular anchors.
  
  The format is: \verb+lChar leftLeaderAnchor [lChar rightLeaderAnchor]+
  
  If \verb+lChar+ is a \verb+'|'+, \verb+leftLeaderAnchor+ and \verb+rightLeaderAnchor+
  are the indices of the fields that serve to anchor the label's leader. More
  specifically the bottom left corner of the left field and the bottom right corner of
  the right field are used as the anchors.
  If \verb+lChar+ is \verb+'%'+, \verb+leftLeaderAnchor+ and \verb+rightLeaderAnchor+
  should be specified as \verb+valxval+, \verb+val+ being a percentage (max 100) of
  the width/height of the label bounding box. If rightLeaderAnchor is not specified
  it defaults to field 0. If rightLeaderField is not specified it defaults to
  leftLeaderAnchor. If neither of them are specified, the center of the label
  is used as an anchor.
\end{blockindent}

\attribute{leadercolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{leadersensitive}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{leadershape}{lineShape}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{leaderstyle}{lineStyle}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{leaderwidth}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{linecolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{firstend}{lineEnd}
\begin{blockindent}
  Describe the shape of the arrow at the beginning of a path.
  This is a list of three numbers describing the arrow shape in order:
  distance along the axis from neck to tip of the arrowhead,
  distance from trailing points to tip and distance from outside
  edge of the line to the trailing points (see canvas).
  If an empty list is given, there is no arrow.
\end{blockindent}

\attribute{lastend}{lineEnd}
\begin{blockindent}
  Describe the shape of the arrow at the end of a path. If an empty
  list is given, there is no arrow.
\end{blockindent}

\attribute{linepattern}{bitmapName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{linestyle}{lineStyle}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{linewidth}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{lockedom}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{mapinfo}{mapInfoName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{marker}{bitmapName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{markercolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{markerfillpattern}{bitmapName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{markersize}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{markerstyle}{lineStyle}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{mask}{bitmapName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{mixedhistory}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{numfields}{}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{numcircles}{integer}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{overstriked}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{period}{integer}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{pieslice}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{position}{position}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{priority}{integer}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{relief}{relief}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{reliefthickness}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{sensitive}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{smoothed}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{spacing}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{speedvector}{position}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{speedvectorcolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{speedvectorsensitive}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{startangle}{integer}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{stepsize}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{symbol}{bitmapName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{symbolcolor}{color}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{symbols}{bitmapNames}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{symbolsensitive}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{tags}{tagList}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{text}{string}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{tile}{imageName}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{underlined}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{visible}{boolean}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{visiblehistorysize}{integer}
\begin{blockindent}
  To be written
\end{blockindent}

\attribute{width}{dimension}
\begin{blockindent}
  To be written
\end{blockindent}



\chapter{Labels, fields and label formats}
\concept{label}
\concept{labelformat}
\object{field}
Applicable attributes for fields:

\begin{tabular}{ll}
  \attrref{alignment} & The horizontal alignment of both the text and the image \\
  \attrref{autoalignment} & The alignments used according to the label orientation \\
  \attrref{backcolor} & The field background color \\
  \attrref{border} & The border description, edge by edge \\
  \attrref{bordercolor} & The border color\\
  \attrref{color} & The text color \\
  \attrref{filled} & Specifies if the field background should be filled \\
  \attrref{fillpattern} & The fill pattern used when filling the background \\
  \attrref{font} & The text font \\
  \attrref{image} & An image to be displayed in the field \\
  \attrref{relief} & Specifies the relief to be drawn around the field, inside the border \\
  \attrref{reliefthickness} & Width of the relief \\
  \attrref{sensitive} & Specifies if the field should react to input events \\
  \attrref{text} & One line of text to be displayed in the field \\
  \attrref{visible} & Specifies if the field is dispalyed \\
\end{tabular}



\chapter{Item types}
\object{items}

This chapter introduces the various items that can be used in \ident{zinc}.


\section{Group items}

\object{group}
Applicable attributes for \ident{group}:

\begin{tabular}{ll}
  \attrref{atomic} & Specifies if the group should report itself or its components during a search or pointer related operations \\
  \attrref{clip} & The item used for clipping \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Track and WayPoint items}

\object{track}
Applicable attributes for \ident{track}:

\begin{tabular}{ll}
  \attrref{circlehistory} & Specifies if the track history is plotted with circles \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{connecteditem} & The item ending the connection link \\
  \attrref{connectioncolor} & The color of the connection link \\
  \attrref{connectionsensitive} & Specifies if the connection link is sensitive \\
  \attrref{connectionstyle} & The line style of the connection link \\
  \attrref{connectionwidth} & The width of the connection link \\
  \attrref{filledhistory} & Specifies if the track history is filled or outlined \\
  \attrref{filledmarker} & Specifies if the circular marker is filled or outlined \\
  \attrref{frozenlabel} & Specifies if the label should be frozen at its current location \\
  \attrref{labelanchor} & The anchor used in positionning the label \\
  \attrref{labelangle} & The angle between the leader label and the normal to the speed vector \\
  \attrref{labeldistance} & The minimum distance between the track position and the label anchor \\
  \attrref{labeldx} & The X offset between the track position and the label anchor \\
  \attrref{labeldy} & The Y offset between the track position and the label anchor \\
  \attrref{labelformat} & Geometry of the label's fields \\
  \attrref{leaderanchors} & The attachments of the leader on the label side \\
  \attrref{leadercolor} & The color of the label leader \\
  \attrref{leaderfirstend} & \\
  \attrref{leaderlastend} & \\
  \attrref{leadersensitive} & Specifies if the label leader is sensitive \\
  \attrref{leadershape} & The shape of the label leader \\
  \attrref{leaderstyle} & The line style of the label leader \\
  \attrref{leaderwidth} & The width of the label leader \\
  \attrref{markercolor} & The color of the circular marker (fill or outline) \\
  \attrref{markerfillpattern} & The pattern to use when filling the circular marker \\
  \attrref{markersize} & The (scale sensitive) size of the circular marker \\
  \attrref{markerstyle} & The line style of the marker outline \\
  \attrref{mixedhistory} & Specifies if the track history is plotted with dots every other positions \\
  \attrref{numfields} & Gives the number of fields available for the label \\
  \attrref{position} & The current location of the track \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{speedvector} & The speed vector $\Delta x$ and $\Delta y$ in unit / minute \\
  \attrref{speedvectorcolor} & The color of the trck's speed vector \\
  \attrref{speedvectorsensitive} & Specifies if the track's speed vector is sensitive \\
  \attrref{symbol} & The symbol displayed at the current position \\
  \attrref{symbolcolor} & The color of the symbol displayed at the current position \\
  \attrref{symbolsensitive} & Specifies if the current position's symbol is sensitive to events \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
  \attrref{visiblehistorysize} & The number of past positions that should be displayed \\
\end{tabular}

\object{waypoint}
Applicable attributes for \ident{waypoint}:

\begin{tabular}{ll}
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{connecteditem} & \\
  \attrref{connectioncolor} & \\
  \attrref{connectionsensitive} & \\
  \attrref{connectionstyle} & \\
  \attrref{connectionwidth} & \\
  \attrref{filledmarker} & \\
  \attrref{labelanchor} & The anchor used in positionning the label \\
  \attrref{labelangle} & The angle between the leader label and the normal to the speed vector \\
  \attrref{labeldistance} & The minimum distance between the track position and the label anchor \\
  \attrref{labeldx} & The X offset between the track position and the label anchor \\
  \attrref{labeldy} & The Y offset between the track position and the label anchor \\
  \attrref{labelformat} & \\
  \attrref{leaderanchors} & The attachments of the leader on the label side \\
  \attrref{leadercolor} & \\
  \attrref{leadersensitive} & \\
  \attrref{leadershape} & \\
  \attrref{leaderstyle} & \\
  \attrref{leaderwidth} & \\
  \attrref{markercolor} & \\
  \attrref{markerfillpattern} & \\
  \attrref{markersize} & \\
  \attrref{markerstyle} & \\
  \attrref{numfields} & \\
  \attrref{position} & \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{symbol} & \\
  \attrref{symbolcolor} & \\
  \attrref{symbolsensitive} & \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Tabular items}

\object{tabular}
Applicable attributes for \ident{tabular}:
  
\begin{tabular}{ll}
  \attrref{anchor} & The anchor used in positionning the item \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{connecteditem} & Specifies the item relative to which this item is placed \\
  \attrref{connectionanchor} & Specifies the anchor on the connected item used for the placement \\
  \attrref{labelformat} & \\
  \attrref{numfields} & \\
  \attrref{position} & The item's position relative to the anchor (if no connected item specified) \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}


\section{Text items}

\object{text}
Applicable attributes for \ident{text}:
  
\begin{tabular}{ll}
  \attrref{alignment} & \\
  \attrref{anchor} & The anchor used in positionning the item \\
  \attrref{color} & \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{connecteditem} & Specifies the item relative to which this item is placed \\
  \attrref{connectionanchor} & Specifies the anchor on the connected item used for the placement \\
  \attrref{fillcolor} & \\
  \attrref{fillpattern} & \\
  \attrref{font} & \\
  \attrref{overstriked} & \\
  \attrref{position} & The item's position relative to the anchor (if no connected item specified) \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{spacing} & \\
  \attrref{text} & \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{underlined} & \\
  \attrref{visible} & Specifies if the item is displayed \\
  \attrref{width} & \\
\end{tabular}

  
\section{Icon items}

\object{icon}
Applicable attributes for \ident{icon}:
  
\begin{tabular}{ll}
  \attrref{anchor} & The anchor used in positionning the item \\
  \attrref{color} & \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{connecteditem} & Specifies the item relative to which this item is placed \\
  \attrref{connectionanchor} & Specifies the anchor on the connected item used for the placement \\
  \attrref{image} & \\
  \attrref{mask} & \\
  \attrref{position} & The item's position relative to the anchor (if no connected item specified) \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Reticle items}

\object{reticle}
Applicable attributes for \ident{reticle}:
  
\begin{tabular}{ll}
  \attrref{brightlinecolor} & \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{linecolor} & \\
  \attrref{firstradius} & \\
  \attrref{numcircles} & \\
  \attrref{period} & \\
  \attrref{position} & \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{stepsize} & \\
  \attrref{linestyle} & \\
  \attrref{brightlinestyle} & \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Map items}

\object{map}
Applicable attributes for \ident{map}:
  
\begin{tabular}{ll}
  \attrref{color} & \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{filled} & \\
  \attrref{fillpattern} & \\
  \attrref{font} & \\
  \attrref{mapinfo} & \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{symbols} & \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Mosaic items}

\object{mosaic}


\section{Rectangle items}

\object{rectangle}
Applicable attributes for \ident{rectangle}:

\begin{tabular}{ll}
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{fillcolor} & \\
  \attrref{filled} & \\
  \attrref{fillpattern} & \\
  \attrref{linecolor} & \\
  \attrref{linepattern} & \\
  \attrref{linestyle} & \\
  \attrref{linewidth} & \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{relief} & \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{tile} & \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Arc items}

\object{arc}
Applicable attributes for \ident{arc}:

\begin{tabular}{ll}
  \attrref{closed} & \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{extent} & \\
  \attrref{fillcolor} & \\
  \attrref{filled} & \\
  \attrref{fillpattern} & \\
  \attrref{firstend} & \\
  \attrref{lastend} & \\
  \attrref{linecolor} & \\
  \attrref{linepattern} & \\
  \attrref{linestyle} & \\
  \attrref{linewidth} & \\
  \attrref{pieslice} & \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{startangle} & \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{tile} & \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\section{Curve items}

\object{curve}
Applicable attributes for \ident{curve}:

\begin{tabular}{ll}
  \attrref{bezier} & \\
  \attrref{capstyle} & \\
  \attrref{composerotation} & Specifies if the current rotation should be composed with the local transform \\
  \attrref{composescale} & Specifies if the current scale should be composed with the local transform \\
  \attrref{fillcolor} & \\
  \attrref{filled} & \\
  \attrref{fillpattern} & \\
  \attrref{firstend} & \\
  \attrref{joinstyle} & \\
  \attrref{lastend} & \\
  \attrref{linecolor} & \\
  \attrref{linepattern} & \\
  \attrref{linestyle} & \\
  \attrref{linewidth} & \\
  \attrref{marker} & \\
  \attrref{markercolor} & \\
  \attrref{priority} & The absolute position in the stacking order \\
  \attrref{relief} & \\
  \attrref{sensitive} & Specifies if the item should react to events \\
  \attrref{smoothed} & \\
  \attrref{tags} & The list of tags associated with the item \\
  \attrref{tile} & \\
  \attrref{visible} & Specifies if the item is displayed \\
\end{tabular}

  
\chapter{Bindings}


\chapter{The \ident{mapinfo} command}

\mapinfocmd{name}{create}{}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{mapInfoName}{delete}{}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{mapInfoName}{duplicate}{newName}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{add}{type args}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{count}{type}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{get}{type index}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{replace}{type index args}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{remove}{type index}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{scale}{factor}
  \begin{blockindent}
    To be written
  \end{blockindent}

\mapinfocmd{name}{translate}{xAmount yAmount}
  \begin{blockindent}
    To be written
  \end{blockindent}


  
\chapter{The \ident{videomap} command}

\command{videomap}{ids}{fileName}
  \begin{blockindent}
    To be written
  \end{blockindent}

\command{videomap}{load}{fileName index mapInfoName}
  \begin{blockindent}
    To be written
  \end{blockindent}



\chapter{Other resources provided by the widget}

\section{Bitmaps}

  Zinc creates two sets of bitmaps. The first set contains
  symbols for ATC tracks, maps and waypoints, these bitmaps
  are named AtcSymbol0 to AtcSymbol21. The second set provides
  stipples that can be used to implement transparency, they
  are named AlphaStipple0 to AlphaStipple15, AlphaStipple0
  being the most transparent.

\latex {\tolerance 2000                 %allow somewhat looser lines.
\hbadness 10000 }                 %don't complain about underfull lines.

\tableofcontents
\listoftables
\listoffigures

\printindex

\label{interne:DernierePage}


\end{document}