File: attributes.html

package info (click to toggle)
xfig 1%3A3.2.3.d-rel-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 13,408 kB
  • ctags: 5,892
  • sloc: ansic: 59,318; sh: 137; makefile: 121; csh: 25; perl: 12
file content (1029 lines) | stat: -rw-r--r-- 35,934 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>XFIG User Manual - Object Attributes</title>
</head>

<body>
<a href="contents.html"><img src="images/xfig-title.gif"
  alt="XFIG Users Manual" border=0></a>

<hr>

<h1>Object Attributes</h1>

Buttons to set various drawing parameters (called <i>attribute buttons</i>),
such as line width or color, are placed on the attribute panel.
Buttons to set global parameters such as the zoom scale or grid mode
are also placed on the attribute panel.
Current settings are displayed in each attribute button.
<p>
Settings in the attribute panel are applied when
<a href="drawing.html">creating new objects</a>.
It is also possible to modify attributes of existing objects
using <a href="editing.html#update">UPDATE</a> 
or <a href="editing.html#edit">EDIT</a>.

<p>
The first three buttons do not control object attributes but are placed
here for convenience:
<br>
<a href="#zoom-scale">
<img src="images/zoom-button.gif" border=1 alt="[ZOOM SCALE]"></a>
Zoom (magnify) figure in canvas
<br>
<a href="#grid-mode">
<img src="images/grid-button.gif" border=1 alt="[GRID MODE]"></a>
<a href="#point-position">
<img src="images/point-position-button.gif" border=1 alt="[POINT POSITION]"></a>
Grids
<p>
These are the attribute buttons:
<br>
<a href="#depth">
<img src="images/depth-button.gif" border=1 alt="[DEPTH]"></a>
Object depths
<br>
<a href="#pen-color">
<img src="images/pen-color-button.gif" border=1 alt="[PEN COLOR]"></a>
<a href="#fill-color">
<img src="images/fill-color-button.gif" border=1 alt="[FILL COLOR]"></a>
<a href="#fill-style">
<img src="images/fill-style-button.gif" border=1 alt="[FILL STYLE]"></a>
Colors and patterns
<br>
<a href="#line-width">
<img src="images/line-width-button.gif" border=1 alt="[LINE WIDTH]"></a>
<a href="#line-style">
<img src="images/line-style-button.gif" border=1 alt="[LINE STYLE]"></a>
<a href="#join-style">
<img src="images/join-style-button.gif" border=1 alt="[JOIN STYLE]"></a>
<a href="#cap-style">
<img src="images/cap-style-button.gif" border=1 alt="[CAP STYLE]"></a>
Width and shape of lines
<br>
<a href="#text-font">
<img src="images/text-font-button.gif" border=1 alt="[TEXT FONT]"></a>
<a href="#text-size">
<img src="images/text-size-button.gif" border=1 alt="[TEXT SIZE]"></a>
<a href="#text-step">
<img src="images/text-step-button.gif" border=1 alt="[TEXT STEP]"></a>
<a href="#text-justification">
<img src="images/text-justify-button.gif" border=1 alt="[TEXT JUSTIFICATION]"></a>
<a href="#text-flags">
<img src="images/text-flags-button.gif" border=1 alt="[TEXT FLAGS]"></a>
Font, size, and other attributes of TEXT objects
<br>
<a href="#arrow-mode">
<img src="images/arrow-mode-button.gif" border=1 alt="[ARROW MODE]"></a>
<a href="#arrow-type">
<img src="images/arrow-type-button.gif" border=1 alt="[ARROW TYPE]"></a>
<a href="#arrow-size">
<img src="images/arrow-size-button.gif" border=1 alt="[ARROW SIZE]"></a>
Arrows
<br>
<a href="#box-curve">
<img src="images/box-curve-button.gif" border=1 alt="[BOX CURVE]"></a>
Corner radius of ARC-BOX objects
<br>
<a href="#arc-type">
<img src="images/arc-type-button.gif" border=1 alt="[ARC TYPE]"></a>
Shape of ARC objects
<br>
<a href="#num-sides">
<img src="images/num-sides-button.gif" border=1 alt="[NUM SIDES]"></a>
Number of sides of REGULAR POLYGON
<br>
<a href="#num-copies">
<img src="images/num-copies-button.gif" border=1 alt="[NUM COPIES]"></a>
<a href="#num-x-copies">
<img src="images/num-x-copies-button.gif" border=1 alt="[NUM X COPIES]"></a>
<a href="#num-y-copies">
<img src="images/num-y-copies-button.gif" border=1 alt="[NUM Y COPIES]"></a>
Number of copies to be created
<br>
<a href="#rotation-angle">
<img src="images/rotation-angle-button.gif" border=1 alt="[ROTATION ANGLE]"></a>
<a href="#text-angle">
<img src="images/text-angle-button.gif" border=1 alt="[TEXT ANGLE]"></a>
Angle of rotation
<br>
<a href="#angle-geom">
<img src="images/angle-geom-button.gif" border=1 alt="[ANGLE GEOMETRY]"></a>
Restriction of the angle of lines
<br>
<a href="#smart-link">
<img src="images/smart-link-button.gif" border=1 alt="[SMART LINK]"></a>
Smart Links
<br>
<a href="#vertical-align">
<img src="images/vertical-align-button.gif" border=1 alt="[VERTICAL ALIGN]"></a>
<a href="#horiz-align">
<img src="images/horiz-align-button.gif" border=1 alt="[HORIZONTAL ALIGN]"></a>
Alignment of objects

<p>
Normally, only the attribute buttons
which are significant to the selected mode
are placed on the attribute panel.
When it is not possible to display all the attribute buttons
at once, a scrollbar will be added to the attribute panel.
<p>
These settings may be changed by clicking those attribute buttons.
Each mouse button has the following function:
<p>

<dl>
<dt>
<img src="images/blueballdot.gif" align=bottom alt="-">
Mouse button 1 (`Menu') </dt>
<dd>
Clicking an attribute button with mouse button 1 will
popup a panel to change setting of the attribute button,
and the user may select a new value by
clicking any button on the panel
(in the case of <i>grid mode</i> or <i>text font</i>, etc.)
or entering a new value from the keyboard
(in the case of <i>zoom scale</i> or <i>line width</i>, etc.)

<dt>
<img src="images/blueballdot.gif" align=bottom alt="-">
Mouse button 2 (`Dec/Prev') </dt>
<dd>
If the attribute button contains a numeric value
(<i>zoom scale</i> or <i>line width</i>, for example),
clicking the attribute button with mouse button 2 will
decrease the value.
If the attribute button is of another type
(<i>grid mode</i> or <i>text font</i>, for example),
the selection will be chosen from the next item in the list.
The list is considered circular.

<dt>
<img src="images/blueballdot.gif" align=bottom alt="-">
Mouse button 3 (`Inc/Next') </dt>
<dd>
This mouse button is the reverse of mouse button 2.
If the attribute button contains a numeric value,
clicking the attribute button with mouse button 3 will
increase the value.
If the attribute button is of another type,
the selection will chosen from the previous item in the list.
The list is considered circular.
</dl>

<p>
In <a href="editing.html#update">UPDATE</a> mode,
a small toggle button appears in the upper-right corner of each attribute button.
This controls whether the particular attribute should be applied when using 
the UPDATE mode.
Also, an <a href="editing.html#update-control">Update Control Button</a> 
will be placed at the left of the attribute panel.
<p>
<blockquote>
  <img src="images/update-control.gif" alt="[Update Control Buttons]">
</blockquote>

<hr>

<p>
<dl>
<dt><img src="images/zoom-button.gif" alt="">
  <a name="zoom-scale">(ZOOM SCALE)</a>
<img src="images/zoom-panel.gif" align=right alt="zoom panel">
<dd>Set the zoom scale of display on the canvas.
The zoom scale may be set in the range of 0.01 to 50.
On many systems, the display on the screen will be almost actual-size
when this is set to 1.
<p>
Clicking this button with mouse button 1 will popup a panel
to enter new value of zoom scale from keyboard.
Clicking this button with mouse button 2 or mouse button 3
will decrease or increase the zoom scale by 1 respectively
(by 0.1 if zoom scale is less than 1.0 and 0.01 if the zoom is less than 0.1).
<p>
Zooming of the canvas may also be performed by
specifying the rectangle to be zoomed on the canvas (`area zoom').
To do this, specify the rectangle to be zoomed by
clicking mouse button 1 (`zoom area') while pressing CONTROL key
and specify one corner of the rectangle,
and then clicking mouse button 1 (`final point') again
at the opposite corner of the rectangle.
It is also possible to set zoom scale to 1
by clicking mouse button 3 (`unzoom') while pressing CONTROL key
on the canvas.
<p>
To force the area-zoom to zoom using integer values check the box
in the zoom popup panel that says <i>Integer zoom</i>.
<p>
To zoom the figure so that it just fills the canvas, press the
<i>Fit to canvas</i> button.  <i>Integer zoom</i> is ignored
if the zoom needed to fit the figure on the canvas is less than 1.0.

<p>
See also <a href="panning.html#zooming">Zooming</a>.

<hr>
<p>
<dt><img src="images/depth-button.gif" alt="">
  <a name="depth">(DEPTH)</a>
<dd>Set the `<i>depth</i>' of objects.
<p>
The <i>Depth</i> is used to decide which object should be hidden
when objects overlap.
The object with larger <i>depth</i> will be hidden by
object with smaller <i>depth</i>.
<i>Depth</i> is an integer value of the range 0 to 999.
<p>
If objects with the same <i>depth</i> overlap,
it is unknown which object will be hidden,
and the display on the screen may be different from a printout or export.
<p>
Normally, all depths are displayed on the canvas, but the user may control
which depths are displayed and editable.  
See the <a href="layers.html#depth_panel">Depth Panel</a> section.
<p>
If the depth of a compound object is changed with 
<a href="editing.html#update">UPDATE</a>,
the relative depths of the objects contained will be maintained.
For example, consider a compound object  containing three objects
at depths 3, 8, and 11 respectively.
If the depth of the compound is changed to 2, then the objects contained
will have depths of 2, 7, and 10 respectively.

<hr>

<p>
<dt><img src="images/grid-button.gif" alt="">
  <a name="grid-mode">(GRID MODE)</a>
<dd>Set the size of the grid displayed on the canvas.
If this is set to <i>None</i>, no grid will be displayed.
<p>
The size of the grid may be selected
from 1/8inch, 1/4inch, 1/2inch and 1inch
if <a href="miscellaneous.html#units">unit</a> is set to <i>Imperial (inches)</i>,
and from 2mm, 5mm, 10mm and 20mm
if unit is set to <i>Metric</i>.

<p>
This grid will not restrict positioning of objects.
If you want to set a restriction of positioning of objects,
use <a href="#point-position">POINT POSITION</a>.

<hr>

<p>
<dt><img src="images/point-position-button.gif" alt="">
  <a name="point-position">(POINT POSITION)</a>
<dd>Set the size of virtual grid (it is not visible)
to control the restriction of positioning of objects.
If this is not set to <i>Any</i>,
objects may only be placed on the virtual grid of the selected size.
If this is set to <i>Any</i>, objects can be placed anywhere.
<p>
The size of the virtual grid may be selected
from 1/16inch, 1/8inch, 1/4inch, 1/2inch and 1inch
if <a href="miscellaneous.html#units">unit</a> is set to <i>Imperial (inches)</i>,
and from 1mm, 2mm, 5mm, 10mm and 20mm
if unit is set to <i>Metric</i>.
<p>
This will also restrict which objects may be
`<a href="editing.html#select-object">picked up</a>' when
<a href="editing.html">editing</a>.
If an object is not on the virtual grid specified here,
the object can't picked up.
<p>
This virtual grid will not displayed on the canvas.
The visible grid can be set by <a href="#grid-mode">GRID MODE</a>.

<hr>

<p>
<dt><img src="images/rotate-angle-button.gif" alt="">
  <a name="rotation-angle">(ROTATION ANGLE)</a>
<dd>Set the angle for rotating objects with
<a href="editing.html#rotate">ROTATE</a>.
Clicking this button with mouse button 2 or mouse button 3
will decrease or increase the angle by 15 degrees respectively.
Clicking this button with mouse button 1 will popup
a panel to enter the angle.
<p>
The angle of <a href="drawing.html#text">TEXT</a>
or <a href="drawing.html#ellipse">ELLIPSE</a>
objets may also be set by <a href="#text-angle">TEXT / ELLIPSE ANGLE</a>.
<p>
Note that some objects may only be rotated by 90 degrees
(e.g. <a href="drawing.html#box">BOX</a>)

<hr>

<p>
<dt><img src="images/text-angle-button.gif" alt="">
  <a name="text-angle">(TEXT / ELLIPSE ANGLE)</a>
<dd>Set the angle of <a href="drawing.html#text">TEXT</a> 
or <a href="drawing.html#ellipse">ELLIPSE</a> objects.
Positive values indicate counter-clockwise rotation,
and negative values indicate clockwise rotation.
<p>
Clicking this button with mouse button 2 or mouse button 3
will decrease or increase angle by 15 degrees respectively.
Clicking this button with mouse button 1 will popup
a panel to enter the angle.
<p>
To rotate exisiting objects,
use <a href="editing.html#rotate">ROTATE</a>.
See also <a href="#rotation-angle">ROTATION ANGLE</a>.

<hr>


<p>
<dt><img src="images/num-sides-button.gif" alt="">
  <a name="num-sides">(NUMBER OF POLYGON SIDES)</a>
<dd>Set the number of sides used in creating a regular polygon
with <a href="drawing.html#regular-polygon">REGULAR POLYGON</a>.

<hr>

<p>
<dt><img src="images/num-copies-button.gif" alt="">
  <a name="num-copies">(NUMBER OF COPIES)</a>
<dd>Set the number of copies to be made with <i>COPY &amp; ROTATE</i> 
(see <a href="editing.html#rotate">ROTATE</a>).
<p>
The number of copies to be made with
<a href="editing.html#copy"><i>ARRAY PLACEMENT</i></a> 
should be set with <a href="#num-x-copies">NUMBER OF X COPIES</a> 
and <a href="#num-y-copies">NUMBER OF Y COPIES</a>.

<hr>

<p>
<dt><img src="images/num-x-copies-button.gif" alt="">
  <img src="images/num-y-copies-button.gif" alt="">
  (<a name="num-x-copies">NUMBER OF X COPIES</a>   /
   <a name="num-y-copies">NUMBER OF Y COPIES</a>)
<dd>Set the number of copies to be made in the X and Y direction
when copying objects with <i>ARRAY PLACEMENT</i> 
(see <a href="editing.html#copy">COPY</a>).
<p>
The number of copies to be made with
<a href="editing.html#rotate"><i>COPY &amp; ROTATE</i></a> 
should be set with <a href="#num-copies">NUMBER OF COPIES</a>.

<hr>

<p>
<dt><img src="images/smart-link-button.gif" alt="">
  <a name="smart-link">(SMART-LINKS MODE)</a>
<dd>This button controls the smart-link mode.
If the smart-link mode is enabled,
lines with an end point on the perimeter of objects such as a BOX
or inside a <a href="editing.html#glue-compound">COMPOUND object</a> 
(henceforth called <i>links</i>)
will be treated specially when those objects are
<a href="editing.html#move">moved</a> 
or <a href="editing.html#copy">copied</a>.
<dl>
<dt><img src="images/smart-link-off.gif" alt=""> OFF
<dd>Disable the smart-link mode.
When moving or copying an object,
only the object will moved or copied.

<dt><img src="images/smart-link-move.gif" alt=""> MOVE
<dd>When moving an object,
the end point of the <i>link</i> will be moved with the object
so that the <i>link</i> will remain linked.
When copying an object, the
<i>link</i> is also copied.

<dt><img src="images/smart-link-slide.gif" alt=""> SLIDE
<dd>When moving an object,
the end segment of the <i>link</i> 
(the segment which touches the object)
will slide so that the angle of the segment is maintained.
When copying an object, the
<i>link</i> is also copied.
</dl>
<p>
Lines which touch objects such as
<a href="drawing.html#circle">circles</a> 
or <a href="drawing.html#ellipse">ellipses</a> 
are not treated as <i>links</i>.
If you want to use smart-link facility for such lines,
make the object into a
<a href="editing.html#glue-compound">COMPOUND object</a>.

<hr>

<p>
<dt><img src="images/vertical-align-button.gif" alt="">
  <a name="vertical-align">(VERTICAL ALIGN)</a>
<dd>Set the vertical alignment mode for
<a href="editing.html#align">ALIGN</a>.
<dl>
<dt><img src="images/vertical-align-none.gif" alt="[None]">
  Do not align vertically.
<dt><img src="images/vertical-align-top.gif" alt="[Top]">
  Align to top of objects.
<dt><img src="images/vertical-align-center.gif" alt="[Center]">
  Align center of objects.
<dt><img src="images/vertical-align-bottom.gif" alt="[Bottom]">
  Align to bottom of objects.
<dt><img src="images/vertical-align-center-even.gif" alt="[Even Center]">
  Vertically distribute objects
  so that the distance between center of each object is equal.
<dt><img src="images/vertical-align-edge-even.gif" alt="[Even Edge]">
  Vertically distribute objects
  so that the distance between the edge of each object is equal.
<dt><img src="images/vertical-align-abut-edge.gif" alt="[Abut Edge]">
  Vertically distribute objects
  so that the edge of each object touch.
</dl>

<hr>

<p>
<dt><img src="images/horiz-align-button.gif" alt="">
  <a name="horiz-align">(HORIZONTAL ALIGN)</a>
<dd>Set the horizontal alignment mode for
<a href="editing.html#align">ALIGN</a> 
<dl>
<dt><img src="images/horiz-align-none.gif" alt="[None]">
  Do not align horizontally.
<dt><img src="images/horiz-align-left.gif" alt="[Left]">
  Align to left of objects.
<dt><img src="images/horiz-align-center.gif" alt="[Center]">
  Align center of objects.
<dt><img src="images/horiz-align-right.gif" alt="[Right]">
  Align to right of objects.
<dt><img src="images/horiz-align-center-even.gif" alt="[Even Center]">
  Horizontally distribute objects
  so that the distance between center of each object is equal.
<dt><img src="images/horiz-align-edge-even.gif" alt="[Even Edge]">
  Horizontally distribute objects
  so that the distance between the edge of each object is equal.
<dt><img src="images/horiz-align-abut-edge.gif" alt="[Abut Edge]">
  Horizontally distribute objects
  so that the edge of each object touch.
</dl>

<hr>

<p>
<dt><img src="images/angle-geom-button.gif" alt="">
  <a name="angle-geom">(ANGLE GEOMETRY)</a>
<dd>Set the restriction of the angle of lines when creating 
<a href="drawing.html#polyline">POLYLINE</a>,
<a href="drawing.html#polygon">POLYGON</a>,
<a href="drawing.html#spline">SPLINE</a> objects, etc.
This will also restrict the angle of line segment when moving
its end point with <a href="editing.html#move-point">MOVE POINT</a>.

<dl>
<dt><img src="images/angle-geom-unrestricted.gif" alt=""> Unrestricted
<dd>Don't restrict the angle of lines.
With this setting, lines of any angle may be created.
This is the default.

<dt><img src="images/angle-geom-latex-line.gif" alt=""> LaTeX Line
<dd>Allow lines to be drawn only at slopes
which can be handled by the <i>line</i> command of the LaTeX picture environment.
With this setting,
lines with slope <i>x / y</i> 
(here, <i>x</i> and <i>y</i> are integers in the range -6 to 6)
may be created.

<dt><img src="images/angle-geom-latex-vector.gif" alt=""> LaTeX Vector
<dd>Allow lines to be drawn only at slopes
which can be handled by the <i>vector</i> command of the LaTeX picture environment.
With this setting,
lines with slope <i>x / y</i> 
(here, <i>x</i> and <i>y</i> are integers in the range -4 to 4)
may be created.

<dt><img src="images/angle-geom-mounthattan.gif" alt=""> Manhattan-Mountain
<dd>Allow lines to be drawn in the horizontal, vertical
or diagonal (45 degrees) direction only.

<dt><img src="images/angle-geom-manhattan.gif" alt=""> Manhattan
<dd>Allow lines to be drawn in the horizontal or vertical direction only.

<dt><img src="images/angle-geom-mountain.gif" alt=""> Mountain
<dd>Allow lines to be drawn in the diagonal (45 degrees) direction only.
</dl>

<hr>

<p>
<dt><img src="images/pen-color-button.gif" alt=""> 
 (<a name="pen-color">PEN COLOR</a>)
<dd>Set the color used to draw objects.
The color may be selected from 32 standard colors
and other arbitrary colors defined by user.
See <a href="#colors-panel">Colors Panel</a> for more information.
<p>
Clicking this button with mouse button 1 will popup the
<a href="#colors-panel">Colors Panel</a>.
<p>
The color to fill the region inside object is set by
<a href="#fill-color">FILL COLOR</a> 
and <a href="#fill-style">FILL STYLE</a>.
If you want to fill the region without drawing the outline of the object,
set <a href="#line-width">LINE WIDTH</a> to zero.

<hr>

<p>
<dt><img src="images/fill-color-button.gif" alt="">
 (<a name="fill-color">FILL COLOR</a>)
<dd>Set the color used to fill the region inside objects.
As in <a href="#pen-color">PEN COLOR</a>,
the color may be selected from 32 standard colors
and other arbitrary colors defined by user.
See <a href="#colors-panel">Colors Panel</a> for more information.
<p>
Clicking this button with mouse button 1 will popup the
<a href="#colors-panel">Colors Panel</a>.
<p>
The color to draw the outline of object is set by
<a href="#pen-color">PEN COLOR</a>.
The FILL COLOR is only effective
when the <a href="#fill-style">FILL STYLE</a>
is set to other than <i>None</i>.
If you don't want to fill the region inside objects,
set the FILL STYLE to <i>None</i>.

<hr>

<p>
<dt><img src="images/fill-style-button.gif" alt="">
  <a name="fill-style">(FILL STYLE)</a>
<dd>Set fill darkness or fill pattern.
Fill color is set by <a href="#fill-color">FILL COLOR</a>.
If <i>None</i> is selected here, the region inside object will not be filled.
<p>
Clicking this button with mouse button 1 will popup this panel:
<p>
<blockquote>
  <img src="images/fill-style-panel.gif" alt="[Fill Style Panel]">
</blockquote>

<hr>

<p>
<dt><img src="images/line-width-button.gif" alt="">
  <a name="line-width">(LINE WIDTH)</a>
<dd>Set the width of lines to draw the outline of objects.
The unit of the line width is exactly 1 screen pixel (about 1/80 inch).
<p>
If this is set to zero, the outline of objects will not be drawn.
The area fill will still be used
if area fill is enabled by <a href="#fill-style">FILL STYLE</a>.

<hr>

<p>
<dt><img src="images/line-style-button.gif" alt="">
  <a name="line-style">(LINE STYLE)</a>
<dd>Set the line style
from <i>solid</i>, <i>dashed</i>, <i>dotted</i>, <i>dash-dot</i>,
<i>dash-dot-dot</i> and <i>dash-dot-dot-dot</i>.
It is also possible to set the dash length or dot distance.
The shape (ends) of each dash and dot may be set by
<a href="#cap-style">CAP STYLE</a>.
<p>
Clicking this button with mouse button 1 will popup
this panel:
<p>
<blockquote>
  <img src="images/line-style-panel.gif" alt="[Line Style Panel]">
</blockquote>

<hr>

<p>
<dt><img src="images/join-style-button.gif" alt="">
  <a name="join-style">(JOIN STYLE)</a>
<dd>Set the shape of the join point (vertex) of lines of objects
such as <a href="drawing.html#polyline">POLYLINE</a> 
or <a href="drawing.html#polygon">POLYGON</a>.
This setting does not have a remarkable effect when the line is very thin.
<p>
<dl>
<dt><img src="images/join-style-miter.gif" alt=""> MITER
<dd>Extend the outer edge of the lines until they touch.
Automatically uses <i>BEVEL</i> instead if the angle is too acute.
This is the default.

<dt><img src="images/join-style-round.gif" alt=""> ROUNDED
<dd>Join lines with an arc whose center is at the join point
and whose diameter is equal to the line width.

<dt><img src="images/join-style-bevel.gif" alt=""> BEVEL
<dd>Join the lines with <i>butt</i> end caps
and fill the resulting triangular notch at the join position.
</dl>
<p>
<blockquote>
  <img src="images/join-style-example.gif" alt="[Join Style Example]">
</blockquote>
<p>
The shape of the end points of lines will set by
<a href="#cap-style">CAP STYLE</a>.

<hr>

<p>
<dt><img src="images/cap-style-button.gif" alt="">
  <a name="cap-style">(CAP STYLE)</a>
<dd>Set the shape of end points of lines of objects
such as <a href="drawing.html#polyline">POLYLINE</a>.
This setting does not have a remarkable effect when the line is very thin.
<p>
<dl>
<dt><img src="images/cap-style-butt.gif" alt=""> BUTT
<dd>The ends of the line don't extend beyond the end points.
This is the default.

<dt><img src="images/cap-style-round.gif" alt=""> ROUND
<dd>Terminate lines with a circle
whose diameter is equal to the line width.

<dt><img src="images/cap-style-projecting.gif" alt=""> PROJECTING
<dd>Similar to <i>BUTT</i>,
but the ends of the line extend by half of line width beyond the
end points.
</dl>
<p>
<blockquote>
  <img src="images/cap-style-example.gif" alt="[Cap Style Example]">
</blockquote>
<p>
This setting also affects the shape of dashes or dots of
<a href="#line-style">dashed-lines or dotted-lines</a>.
The shape of the join point (vertex) of lines is set by
<a href="#join-style">JOIN STYLE</a>.

<hr>

<p>
<dt><img src="images/arrow-mode-button.gif" alt="">
  <a name="arrow-mode">(ARROW MODE)</a>
<dd>Determines whether an arrow head should be automatically added 
at either or both ends of a line
when creating a <a href="drawing.html#polyline">POLYLINE</a>,
<a href="#arc-type">OPEN ARC</a>,
or <a href="drawing.html#spline">OPEN SPLINE</a> object.
<dl>
<dt><img src="images/arrow-mode-none.gif" alt="[None]">
  Do not add any arrow heads.
<dt><img src="images/arrow-mode-forward.gif" alt="[Forward]">
  Add an arrow head at the last point of the line.
<dt><img src="images/arrow-mode-both.gif" alt="[Both]">
  Add an arrow head at each end of the line.
<dt><img src="images/arrow-mode-backward.gif" alt="[Backward]">
  Add an arrow head at the first point of the line.
</dl>
<p>
The shape of the arrow head may be set by <a href="#arrow-type">ARROW TYPE</a> and
the size by <a href="#arrow-size">ARROW SIZE</a>.
It is also possible to add (or remove) arrow heads
to existing objects using 
<a href="editing.html#add-arrow">ADD / DELETE ARROW</a>.

<hr>

<p>
<dt><img src="images/arrow-type-button.gif" alt="">
  <a name="arrow-type">(ARROW TYPE)</a>
<dd>Sets the shape of arrow heads.
<dl>
<dt><img src="images/arrow-types.gif" alt="[Arrow Types]">
</dl>
The size of arrow head may be set using <a href="#arrow-size">ARROW SIZE</a>.

<hr>

<p>
<dt><img src="images/arrow-size-button.gif" alt="">
  <a name="arrow-size">(ARROW SIZE)</a>
<dd>Set the size of arrow head.
<p>
Clicking this button with mouse button 1 will popup
this panel:
<p>
<blockquote>
  <img src="images/arrow-size-panel.gif" alt="[Arrow Size]">
  <img src="images/arrow-size-image.gif" alt="[Arrow Head]">
</blockquote>
<p>
The <i>Thickness</i> controls the thickness of the line forming the arrow head.
<br>
The <i>Width</i> controls the width at the back of the arrow head.
<br>
The <i>Height</i> controls the length or height of the arrow head.
<p>
All these units are the same as for <a href="#line-width">LINE WIDTH</a>.
This is a change from previous versions of <b>xfig</b>, where the width and height
were in <i>Fig</i> units (1/1200 inch).

<dl>
<dd><img src="images/redball.gif" align=bottom alt="-">
If the <i>Absolute Values</i> box is checked, the values from the left
side entries are used and are absolute as just described.
<br>
<dd><img src="images/redball.gif" align=bottom alt="-">
If the <i>Multiple of Line Width</i> box is checked, the respective value from the
right side entry is multiplied by the current 
<a href="#line-width">line width</a> setting to arrive at the sizes.
</dl>

<hr>

<dt><img src="images/box-curve-button.gif" alt="">
  <a name="box-curve">(BOX CURVE)</a>
<dd>Set the corner radius of
<a href="drawing.html#arc-box">ARC-BOX</a> objects.
The units are the same as for <a href="#line-width">LINE WIDTH</a>.

<hr>

<p>
<dt><img src="images/arc-type-button.gif" alt="">
  <a name="arc-type">(ARC TYPE)</a>
<dd>Set the style of <a href="drawing.html#arc">ARC</a> object.
<dl>
<dt><img src="images/arc-type-open.gif" alt=""> OPEN ARC
<dd>Draw only the arc.

<dt><img src="images/arc-type-pie-wedge.gif" alt=""> PIE-WEDGE
<dd>Adding to the arc,
draw lines which connect each end of the arc to the center.
</dl>

<hr>

<p>
<dt><img src="images/text-font-button.gif" alt="">
  <a name="text-font">(TEXT FONT)</a>
<dd>Set the font used to draw
<a href="drawing.html#text">TEXT</a> objects.
The size of the font may be set by <a href="#text-size">TEXT SIZE</a>.
<p>
Clicking this button with mouse button 1 will popup the
<a href="#font-panel">Font Panel</a> to select the font.

<p>
<dt><img src="images/text-size-button.gif" alt="">
  <a name="text-size">(TEXT SIZE)</a>
<dd>Set the size (point size) of
<a href="drawing.html#text">TEXT</a> object.
The default is 12 points.
The font itself is set by <a href="#text-font">TEXT FONT</a>.

<p>
<dt><img src="images/text-step-button.gif" alt="">
  <a name="text-step">(TEXT STEP)</a>
<dd>Set the vertical distance by which lines of text
will be spaced when entering multiple lines in
<a href="drawing.html#text">TEXT</a> mode.
The distance is the product of the height of the font
(approximately <a href="#text-size">TEXT SIZE</a>)
and this value.

<p>
<dt><img src="images/text-justify-button.gif" alt="">
  <a name="text-justification">(TEXT JUSTIFICATION)</a>
<dd>Set which part of the text should be placed
at the specified point when entering
<a href="drawing.html#text">TEXT</a> object.
<dl>
<dt><img src="images/text-justify-left.gif" alt=""> LEFT JUSTIFIED
<dd>Place the left edge of the text at the specified point.
This is the default.

<dt><img src="images/text-justify-center.gif" alt=""> CENTERED
<dd>Place the center of the text at the specified point.

<dt><img src="images/text-justify-right.gif" alt=""> RIGHT JUSTIFIED
<dd>Place the right edge of the text at the specified point.
</dl>

<p>
<dt><img src="images/text-flags-button.gif" alt="">
  <a name="text-flags">(TEXT FLAGS)</a>
<dd>Set the <i>Hidden</i>, <i>Rigid</i>, and <i>Special</i> flags
of <a href="drawing.html#text">TEXT</a> objects.
These flags are used for special situations,
and they are all <i>OFF</i> by default.
<p>
Clicking this button with mouse button 2 or mouse button 3
will switch which flag's state should be displayed on the button.
<p>
Clicking this button with mouse button 1 will popup this panel:
<p>
<blockquote>
  <img src="images/text-flags-panel.gif" alt="[Text Flags]">
</blockquote>
<p>
If the <i>Hidden</i> flag is set <i>ON</i>, the
string `&lt;&lt;&gt;&gt;' is displayed on the canvas
instead of the text itself.
The text will output as usual when
<a href="printing.html#print">Printing</a> 
or <a href="printing.html#export">Exporting</a>.
This is useful to avoid text with long sequences of LaTeX commands
which makes the display hard to read.
<p>
If the <i>Rigid</i> flag is <i>ON</i>,
the size of the font of the TEXT object will not be changed
when a <a href="editing.html#glue-compound">COMPOUND object</a> 
which includes the TEXT object is <a href="editing.html#scale">scaled</a>.
<p>
If the <i>Special</i> flag is <i>ON</i>,
special characters (such as `<tt>\</tt>', for example)
in text will not be specially processed
but passed to the output `as is' when
<a href="printing.html#export">Exporting</a>.
This may be used to put LaTeX commands in text.
The use of LaTeX commands is especially helpful to
put complex mathematical formulas in the figure, for example.
If the <i>Special</i> flag is <i>OFF</i>,
the text will be processed before output.
</dl>

<hr>


<h2><a name="colors-panel">Colors Panel</a></h2>

The Colors Panel is used to choose or define colors
for the outline of objects or the fill area inside objects,
and it will popup when either
<a href="#pen-color">PEN COLOR</a> button
or <a href="#fill-color">FILL COLOR</a> button is clicked.
<p>
<blockquote>
  <img src="images/color-panel.gif" alt="[Color Panel]">
</blockquote>

<p>
<dl>
<dt>
<img src="images/redballdot.gif" align=bottom alt="-">
<i>Edit Pen</i>
<dd>If this button is selected, the
PEN COLOR (color to draw outline of object) may be selected.
If this panel is popped up by clicking
<a href="#pen-color">PEN COLOR</a> button,
this button is selected initially.

<p>
<dt>
<img src="images/redballdot.gif" align=bottom alt="-">
<i>Edit Fill</i>
<dd>If this button is selected, the
FILL COLOR (color to fill region inside of object) may be selected.
If this panel is popped up by clicking
<a href="#fill-color">FILL COLOR</a> button,
this button is selected initially.

<p>
<dt>
<img src="images/redballdot.gif" align=bottom alt="-">
<i>Standard Colors</i>
<dd>This is a panel of 32 standard color buttons.
Any of these colors may be selected by clicking on the color.
The standard colors are black, yellow, white, gold,
five shade of blue, four shade of green, four shade of cyan,
four shade of red, five shade of magenta, four shade of brown,
and four shade of pink.
Additional colors may be defined by <i>User Defined Colors</i>.

<p>
<dt>
<img src="images/redballdot.gif" align=bottom alt="-">
<i>User Defined Colors</i>
<dd>
<dl>
<dt><img src="images/blueballdot.gif" align=bottom alt="-">
<i>Add Color</i>
<dd>
This button will add a new user-defined color
in the box under <i>User Defined Colors</i>.
Its initial color is black.  
The color sliders may be used to change the color.

<dt><img src="images/blueballdot.gif" align=bottom alt="-">
<i>Lookup Color</i>
<dd>
This button will also add new user-defined color,
by getting a color from the display.
After clicking <i>Lookup Color</i>, click on any color on the display
and that color will be used for the new user-defined color.

<dt><img src="images/blueballdot.gif" align=bottom alt="-">
<i>Delete</i>
<dd>
This button will delete a user-defined color.
A user-defined color may be deleted by clicking this button
after selecting a color cell.
However, the color may not be deleted
if the color is in use by any objects in the current figure.

<dt><img src="images/blueballdot.gif" align=bottom alt="-">
<i>UnDelete</i>
<dd>
This button will undo the last delete of user-defined color.

<dt><img src="images/blueballdot.gif" align=bottom alt="-">
<i>Delete Unused</i>
<dd>
This button will delete any unused user-defined colors.
Notice that the number of colors actually in use are displayed next to the
"User Defined Colors" title.
Also, the borders of the colors in use are drawn in green, while the
borders of unused colors are black.  The border of the selected color
is red.

<dt><img src="images/blueballdot.gif" align=bottom alt="-">
<i>RGB and HSV Sliders</i>
<dd>
The user-defined colors may be modified using
RGB (red/green/blue) or HSV (hue/saturation/value) sliders.
It is also possible to enter hexadecimal values
to indicate the intensity of red, green and blue (each value is 00 to FF)
into the fields under <i>Edit Pen</i> and <i>Edit Fill</i>.
<p>
If two or three of the buttons above the red, green and blue sliders are checked
(the figure shows the red and green locked),
those sliders will be `locked' together,
so that moving the <i>Lock</i> slider will move those sliders together.
</dl>
</dl>

<hr>

<h2><a name="font-panel">Font Panel</a></h2>

The Font Panel is used to select the font to draw text,
and it will popup when the
<a href="#text-font">TEXT FONT</a> button is clicked.
Only the font name may be selected here;
the size of the font must be set using <a href="#text-size">TEXT SIZE</a>.
<p>
There are two Font Panels;
one for PostScript fonts and one for LaTeX fonts.
<p>
<blockquote>
  <img src="images/text-font-panel.gif" alt="[Font Panel - PostScript]">
  <p>
  <img src="images/text-font-panel-latex.gif" alt="[Font Panel - LaTeX]">
</blockquote>

<p>
Clicking a font button
(the labels of the buttons are drawn using the font)
will select that font.
Clicking the <i>Use LaTeX Fonts</i> button will
switch to the panel for LaTeX fonts,
and clicking <i>Use PostScript Fonts</i> button will
switch to the panel for PostScript fonts.
<p>
It is not guaranteed that all fonts in the panel of PostScript fonts
are available on all PostScript printers.
Also, different fonts may be used on the screen.
This is dependent on which fonts the X server has.
But at least 
<i>Times-Roman</i>, <i>Times-Italic</i>, <i>Times-Bold</i>, <i>Times-BoldItalic</i>,
<i>Courier</i>, <i>Courier-Oblique</i>, <i>Courier-Bold</i>, <i>Courier-BoldOblique</i>,
<i>Helvetica</i>, <i>Helvetica-Oblique</i>, <i>Helvetica-Bold</i>, and <i>Helvetica-BoldOblique</i> 
will be available in most environments.
<p>
<img src="images/pict-i18n.gif" alt="[I18N]"> 
In <a href="i18n.html">international-<b>xfig</b></a>,
 ``<i>Times-Roman</i>'' and ``<i>Times-Bold</i>'' will be replaced with
<blockquote>
<img src="images/font-menu-japanese.gif"
    alt="Times-Roman + Mincho and Times-Bold + Gothic">
</blockquote>
in the Japanese environment, and
<blockquote>
<img src="images/font-menu-korean.gif"
    alt="Times-Roman + Mincho and Times-Bold + Gothic">
</blockquote>
in the Korean environment.
It is possible to put Japanese or Korean in text
when these fonts are selected.
See <a href="i18n.html">Internationalization</a> about this.

<p>
<hr>

[ <a href="contents.html">Contents</a> |
 <a href="introduction.html">Introduction</a> |
 <a href="authors.html">Credits</a> ]

</body>
</html>