summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmplymod.xtr
blob: a0bf12da93085217a5957e9600ffd8ca3a9fb478 (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
VERSION 7
DEMOINIT
ORIG 8.000 0.000 0.000
PARAMETER display description-fontsize 24
DRAW 1 0 0 0 0 0.000000 0.000000 0.000000
	Y 255 0.333333 3
		3.888889 4.333333
		11.333333 18.888889
		18.888889 4.333333
	END
DRAW 2 0 0 0 0 0.000000 0.000000 0.000000
	F 255 0.333333 3
		23.888889 4.333333
		31.000000 19.000000
		39.000000 4.444444
	END
REDRAW
RESET
MESSAGE
Polylines and polygons (created with the <Draw> command) can be modified by dragging on their corners or edges.

First Left Click on the shape you want to modify.
END
STEP
COMMAND Modify
MOUSE 2 11.333 18.889
MOUSE 4 11.333 18.889
BIGPAUSE
MESSAGE

Then drag on the point you want to move
END
MOUSE 2 11.333 18.889
MOUSE 3 18.889 19.333
MOUSE 4 18.889 19.333
MOUSE 2 4.000 4.444
MOUSE 3 4.111 19.333
MOUSE 4 4.111 19.333
MESSAGE

And finally press the Space bar to finish the change
END
MOUSE 8200 4.111 19.333
STEP
MOUSE 2 31.222 18.889
MOUSE 4 31.222 18.889
MOUSE 2 31.222 18.889
MOUSE 3 38.889 19.667
MOUSE 4 38.889 19.667
MOUSE 2 24.222 4.667
MOUSE 3 24.778 19.667
MOUSE 4 24.778 19.667
MOUSE 8200 24.778 19.667
MESSAGE
_________________________________________

If you select the middle of an Edge a new Corner is created.
END
STEP
MOUSE 2 10.556 12.667
MOUSE 4 10.556 12.667
MOUSE 2 10.556 12.667
MOUSE 3 4.111 4.333
MOUSE 4 4.111 4.333
MOUSE 8200 4.111 4.333
MOUSE 2 31.556 12.333
MOUSE 4 31.556 12.333
MOUSE 2 31.556 12.333
MOUSE 3 24.889 4.333
MOUSE 4 24.889 4.333
MOUSE 8200 24.889 4.333
MESSAGE
_________________________________________

To delete a corner, select and then press Delete or Backspace
END
STEP
#MOUSE 2 4.333 19.222
#MOUSE 4 4.333 19.222
#MOUSE 2 4.333 19.222
#MOUSE 3 4.000 4.444
MOUSE 2 4.000 4.444
MOUSE 4 4.000 4.444
MOUSE 2 4.000 4.444
MOUSE 4 4.000 4.444
MOUSE 2056 4.000 4.444
MOUSE 8200 4.000 4.444
#MOUSE 2 25.111 19.667
#MOUSE 4 25.111 19.667
#MOUSE 2 25.111 19.667
#MOUSE 3 25.111 4.444
MOUSE 2 25.111 4.444
MOUSE 4 25.111 4.444
MOUSE 2 25.111 4.444
MOUSE 4 25.111 4.444
MOUSE 2056 25.111 4.444
MOUSE 8200 25.111 4.444
MESSAGE
_________________________________________

But you cannot have a Poly-shape with less than 3 sides.
END
STEP
#MOUSE 2 4.000 4.444
#MOUSE 4 4.000 4.444
#MOUSE 2 4.000 4.444
#MOUSE 3 18.900 4.333
MOUSE 2 18.900 4.333
MOUSE 4 18.900 4.333
MOUSE 2 18.900 4.333
MOUSE 4 18.900 4.333
MOUSE 2056 18.900 4.333
STEP
MOUSE 8200 18.900 4.333
#MOUSE 2 25.111 4.444
#MOUSE 4 25.111 4.444
#MOUSE 2 25.111 4.444
#MOUSE 3 39.111 4.778
MOUSE 2 39.111 4.778
MOUSE 4 39.111 4.778
MOUSE 2 39.111 4.778
MOUSE 4 39.111 4.778
MOUSE 2056 39.111 4.778
STEP
MOUSE 8200 39.111 4.778
MESSAGE
=========================================
END
REGRESSION START 10 - modify polygons
DRAW 1 0 0 0 0 0.000000 0.000000 0 0.000000
	Y4 255 0.333333 3 0 
		4.111000 19.333000 0
		18.889000 19.333000 0
		18.900000 4.333000 0
	END
DRAW 2 0 0 0 0 0.000000 0.000000 0 0.000000
	F4 255 0.333333 3 0 
		24.778000 19.667000 0
		38.889000 19.667000 0
		39.111000 4.778000 0
	END
REGRESSION END
STEP
CLEAR