home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1998 November / Dppcpro1198.iso / Nov / Intelcad / Install / Data.Z / Textgrid.scr < prev    next >
Encoding:
Text File  |  1998-03-18  |  3.5 KB  |  516 lines

  1. ;---------------------------------------------
  2. ;File name: Textgrid.SCR
  3. ;Purpose: Demonstrate Text and options 
  4. ;
  5. ;Last Modified: 3/18/98
  6. ;---------------------------------------------
  7. CMDECHO
  8. 0
  9. PICKBOX
  10. 3
  11. APERTURE
  12. 10
  13. ; Erase anything that's there already.
  14. erase
  15. all
  16.  
  17. ; Turn blips off
  18. blipmode
  19. off
  20. ; Set the current layer to zero.
  21. layer
  22. s
  23. 0
  24.  
  25. color
  26. bylayer
  27. ; Setting all the other necessary system variables:
  28. vpoint
  29. 0,0,1
  30. ; Zoom to a window bigger than 100 x 100 (if it were square).
  31. zoom
  32. c
  33. 94,54
  34. 120
  35. elev
  36. 0
  37. 0
  38. gridmode
  39. 0
  40. fillmode
  41. 1
  42. snapmode
  43. 0
  44. linetype
  45. s
  46. bylayer
  47.  
  48. ; Draw a red grid for reference
  49. layer
  50. m
  51. redtextgrid
  52. c
  53. red
  54.  
  55.  
  56. line
  57. 0,0
  58. 0,100
  59. 150,100
  60. 150,0
  61. 0,0
  62.  
  63. line
  64. 0,50
  65. 100,50
  66.  
  67. line
  68. 50,0
  69. 50,100
  70.  
  71. line
  72. 100,0
  73. 100,100
  74.  
  75. layer
  76. s
  77. 0
  78.  
  79. text
  80. 5,95
  81. 4
  82. 0
  83. The text describes itself:
  84. layer
  85. m
  86. bluetextgrid
  87. c
  88. blue
  89.  
  90.  
  91. text
  92. 5,90
  93. 2
  94. 0
  95. Start Pt 5,90 Height = 2
  96. text
  97. 5,85
  98. 2
  99. 270
  100. 270 Degrees
  101. text
  102. 12,60
  103. 2
  104. 90
  105. 90 Degrees
  106. layer
  107. m
  108. yellowtextgrid
  109. c
  110. yellow
  111.  
  112.  
  113. text
  114. j
  115. a
  116. 0,50
  117. 50,50
  118. Aligned Text
  119. text
  120. j
  121. a
  122. 50,50
  123. 50,100
  124. This is also Aligned Text
  125. text
  126. j
  127. a
  128. 50,50
  129. 0,50
  130. Aligned Text
  131. text
  132. j
  133. a
  134. 50,100
  135. 50,50
  136. This is also Aligned Text
  137. layer
  138. m
  139. magentatextgrid
  140. c
  141. magenta
  142.  
  143.  
  144. text
  145. j
  146. f
  147. 60,80
  148. 90,80
  149. 8
  150. Fit Text
  151. text
  152. j
  153. f
  154. 60,70
  155. 90,70
  156. 8
  157. Also Fit Text
  158. text
  159. j
  160. f
  161. 60,60
  162. 90,60
  163. 8
  164. Really skinny Fit text
  165. text
  166. j
  167. f
  168. 90,59
  169. 60,59
  170. 8
  171. Fit Text
  172. text
  173. j
  174. f
  175. 58,52
  176. 58,88
  177. 2
  178. Fit Text going upward
  179. text
  180. j
  181. f
  182. 92,88
  183. 92,52
  184. 2
  185. Fit Text going downward
  186. layer
  187. m
  188. greentextgrid
  189. c
  190. green
  191.  
  192.  
  193. text
  194. j
  195. c
  196. 30,70
  197. 3
  198. 0
  199. Centered, 0%%d
  200. text
  201. j
  202. c
  203. 30,70
  204. 3
  205. 45
  206. Centered, 45%%d
  207. text
  208. j
  209. c
  210. 30,70
  211. 3
  212. 90
  213. Centered, 90%%d
  214. text
  215. j
  216. c
  217. 30,70
  218. 3
  219. 135
  220. Centered, 135%%d
  221. layer
  222. s
  223. bluetextgrid
  224.  
  225. line
  226. 125,40
  227. 125,100
  228.  
  229. line
  230. 100,95
  231. 150,95
  232.  
  233. line
  234. 100,90
  235. 150,90
  236.  
  237. line
  238. 100,85
  239. 150,85
  240.  
  241. line
  242. 100,80
  243. 150,80
  244.  
  245. line
  246. 100,75
  247. 150,75
  248.  
  249. line
  250. 100,70
  251. 150,70
  252.  
  253. line
  254. 100,65
  255. 150,65
  256.  
  257. line
  258. 100,60
  259. 150,60
  260.  
  261. line
  262. 100,55
  263. 150,55
  264.  
  265. line
  266. 100,50
  267. 150,50
  268.  
  269. line
  270. 100,45
  271. 150,45
  272.  
  273. line
  274. 100,40
  275. 150,40
  276.  
  277. layer
  278. s
  279. 0
  280.  
  281. text
  282. j
  283. c
  284. 125,95
  285. 3
  286. 0
  287. Centered
  288. text
  289. j
  290. m
  291. 125,90
  292. 3
  293. 0
  294. Middle
  295. text
  296. j
  297. r
  298. 125,85
  299. 3
  300. 0
  301. Right
  302. text
  303. j
  304. tl
  305. 125,80
  306. 3
  307. 0
  308. Top Left
  309. text
  310. j
  311. tc
  312. 125,75
  313. 3
  314. 0
  315. Top Center
  316. text
  317. j
  318. tr
  319. 125,70
  320. 3
  321. 0
  322. Top Right
  323. text
  324. j
  325. ml
  326. 125,65
  327. 3
  328. 0
  329. Middle Left
  330. text
  331. j
  332. mc
  333. 125,60
  334. 3
  335. 0
  336. Middle Center
  337. text
  338. j
  339. mr
  340. 125,55
  341. 3
  342. 0
  343. Middle Right
  344. text
  345. j
  346. bl
  347. 125,50
  348. 3
  349. 0
  350. Bottom Left
  351. text
  352. j
  353. bc
  354. 125,45
  355. 3
  356. 0
  357. Bottom Center
  358. text
  359. j
  360. br
  361. 125,40
  362. 3
  363. 0
  364. Bottom Right
  365. layer
  366. m
  367. cyantextgrid
  368. c
  369. cyan
  370.  
  371.  
  372. text
  373. 5,2
  374. 3
  375. 60
  376. %%oOverscored
  377. text
  378. 10,2
  379. 3
  380. 60
  381. %%uUnderscored
  382. text
  383. 15,2
  384. 3
  385. 60
  386. Degree Symbol %%d
  387. text
  388. 20,2
  389. 3
  390. 60
  391. Plus/Minus %%p
  392. text
  393. 25,2
  394. 3
  395. 60
  396. Diameter %%c
  397. text
  398. 30,2
  399. 3
  400. 60
  401. Percent %%%
  402. text
  403. 35,2
  404. 3
  405. 60
  406. %%o%%uBoth
  407. layer
  408. s
  409. greentextgrid
  410.  
  411. text
  412. j
  413. tl
  414. 75,25
  415. 2
  416. 0
  417. Top Left, 0%%d
  418. text
  419. j
  420. tl
  421. 75,25
  422. 2
  423. 10
  424. Top Left, 10%%d
  425. text
  426. j
  427. tl
  428. 75,25
  429. 2
  430. 20
  431. Top Left, 20%%d
  432. text
  433. j
  434. tl
  435. 75,25
  436. 2
  437. 30
  438. Top Left, 30%%d
  439. text
  440. j
  441. tl
  442. 75,25
  443. 2
  444. 40
  445. Top Left, 40%%d
  446. text
  447. j
  448. tl
  449. 75,25
  450. 2
  451. 50
  452. Top Left, 50%%d
  453. text
  454. j
  455. tl
  456. 75,25
  457. 2
  458. 60
  459. Top Left, 60%%d
  460. text
  461. j
  462. tl
  463. 75,25
  464. 2
  465. 70
  466. Top Left, 70%%d
  467. text
  468. j
  469. tl
  470. 75,25
  471. 2
  472. 80
  473. Top Left, 80%%d
  474. text
  475. j
  476. tl
  477. 75,25
  478. 2
  479. 90
  480. Top Left, 90%%d
  481. layer
  482. s
  483. yellowtextgrid
  484.  
  485. text
  486. 102,35
  487. .5
  488. 0
  489. This text is .5 units high.
  490. text
  491. 102,30
  492. 3.75
  493. 0
  494. This text is 3.75 units high.
  495. text
  496. 102,25
  497. 4.0000
  498. 0
  499. This text is 4.0000 units high.
  500. layer
  501. s
  502. magentatextgrid
  503.  
  504. text
  505. j
  506. f
  507. 55,2
  508. 145,2
  509. 10
  510. %%o%%uALL DONE!
  511. z
  512. e
  513. setvar
  514. cmdecho
  515. 0
  516.