Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/ThickLines/NoEntry
!AWMar94/Goodies/Basic/ThickLines/NoEntry
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403.adf » Disk1Mar94 |
Filename: | !AWMar94/Goodies/Basic/ThickLines/NoEntry |
Read OK: | ✔ |
File size: | 0250 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1 2LIBRARY "PathLib:OS_units.Paths" 3LIBRARY "PathLib:OS_units.Styles" 4 5MODE MODE 6 7 sign%=FNCreate_NoEntrySign(0,0,200) 8style%=FNPath_CreateLineStyle(16) 9 10 ORIGIN 640,512 11 PROCPath_SmoothDrawWithStyle(sign%,1,style%,0) 12 13END 14 15DEF FNCreate_NoEntrySign(x%,y%,radius%) 16 LOCAL NoEntry% 17 PROCPath_ObjectBegin(NoEntry%,200) 18 REM First create sub-path circle 19 PROCPath_Circle(x%,y%,radius%) 20 REM Then create sub-path line 21 PROCPath_Move(x%-radius%/SQR2,y%-radius%/SQR2) 22 PROCPath_Draw(x%+radius%/SQR2,y%+radius%/SQR2) 23 PROCPath_ObjectEnd 24=NoEntry% 25 26 27 28
ț "PathLib:OS_units.Paths" ț "PathLib:OS_units.Styles" � � ' sign%=�Create_NoEntrySign(0,0,200) $style%=�Path_CreateLineStyle(16) ȑ 640,512 0 �Path_SmoothDrawWithStyle(sign%,1,style%,0) � (� �Create_NoEntrySign(x%,y%,radius%) � NoEntry% $ �Path_ObjectBegin(NoEntry%,200) $ � First create sub-path circle % �Path_Circle(x%,y%,radius%) # � Then create sub-path line 1 �Path_Move(x%-radius%/�2,y%-radius%/�2) 8 �Path_Draw(x%+radius%/�2,y%+radius%/�2) �Path_ObjectEnd =NoEntry% �
00000000 0d 00 01 04 0d 00 02 1f c8 9b 20 22 50 61 74 68 |.......... "Path| 00000010 4c 69 62 3a 4f 53 5f 75 6e 69 74 73 2e 50 61 74 |Lib:OS_units.Pat| 00000020 68 73 22 0d 00 03 20 c8 9b 20 22 50 61 74 68 4c |hs"... .. "PathL| 00000030 69 62 3a 4f 53 5f 75 6e 69 74 73 2e 53 74 79 6c |ib:OS_units.Styl| 00000040 65 73 22 0d 00 04 04 0d 00 05 07 eb 20 eb 0d 00 |es"......... ...| 00000050 06 04 0d 00 07 27 20 73 69 67 6e 25 3d a4 43 72 |.....' sign%=.Cr| 00000060 65 61 74 65 5f 4e 6f 45 6e 74 72 79 53 69 67 6e |eate_NoEntrySign| 00000070 28 30 2c 30 2c 32 30 30 29 0d 00 08 24 73 74 79 |(0,0,200)...$sty| 00000080 6c 65 25 3d a4 50 61 74 68 5f 43 72 65 61 74 65 |le%=.Path_Create| 00000090 4c 69 6e 65 53 74 79 6c 65 28 31 36 29 0d 00 09 |LineStyle(16)...| 000000a0 04 0d 00 0a 0f 20 c8 91 20 36 34 30 2c 35 31 32 |..... .. 640,512| 000000b0 0d 00 0b 30 20 f2 50 61 74 68 5f 53 6d 6f 6f 74 |...0 .Path_Smoot| 000000c0 68 44 72 61 77 57 69 74 68 53 74 79 6c 65 28 73 |hDrawWithStyle(s| 000000d0 69 67 6e 25 2c 31 2c 73 74 79 6c 65 25 2c 30 29 |ign%,1,style%,0)| 000000e0 0d 00 0c 04 0d 00 0d 05 e0 0d 00 0e 04 0d 00 0f |................| 000000f0 28 dd 20 a4 43 72 65 61 74 65 5f 4e 6f 45 6e 74 |(. .Create_NoEnt| 00000100 72 79 53 69 67 6e 28 78 25 2c 79 25 2c 72 61 64 |rySign(x%,y%,rad| 00000110 69 75 73 25 29 0d 00 10 0f 20 ea 20 4e 6f 45 6e |ius%).... . NoEn| 00000120 74 72 79 25 0d 00 11 24 20 f2 50 61 74 68 5f 4f |try%...$ .Path_O| 00000130 62 6a 65 63 74 42 65 67 69 6e 28 4e 6f 45 6e 74 |bjectBegin(NoEnt| 00000140 72 79 25 2c 32 30 30 29 0d 00 12 24 20 20 f4 20 |ry%,200)...$ . | 00000150 46 69 72 73 74 20 63 72 65 61 74 65 20 73 75 62 |First create sub| 00000160 2d 70 61 74 68 20 63 69 72 63 6c 65 0d 00 13 25 |-path circle...%| 00000170 20 20 20 20 20 20 f2 50 61 74 68 5f 43 69 72 63 | .Path_Circ| 00000180 6c 65 28 78 25 2c 79 25 2c 72 61 64 69 75 73 25 |le(x%,y%,radius%| 00000190 29 0d 00 14 23 20 20 f4 20 54 68 65 6e 20 63 72 |)...# . Then cr| 000001a0 65 61 74 65 20 73 75 62 2d 70 61 74 68 20 6c 69 |eate sub-path li| 000001b0 6e 65 20 20 0d 00 15 31 20 20 20 20 20 20 f2 50 |ne ...1 .P| 000001c0 61 74 68 5f 4d 6f 76 65 28 78 25 2d 72 61 64 69 |ath_Move(x%-radi| 000001d0 75 73 25 2f b6 32 2c 79 25 2d 72 61 64 69 75 73 |us%/.2,y%-radius| 000001e0 25 2f b6 32 29 0d 00 16 38 20 20 20 20 20 20 f2 |%/.2)...8 .| 000001f0 50 61 74 68 5f 44 72 61 77 28 78 25 2b 72 61 64 |Path_Draw(x%+rad| 00000200 69 75 73 25 2f b6 32 2c 79 25 2b 72 61 64 69 75 |ius%/.2,y%+radiu| 00000210 73 25 2f b6 32 29 20 20 20 20 20 20 20 0d 00 17 |s%/.2) ...| 00000220 14 20 f2 50 61 74 68 5f 4f 62 6a 65 63 74 45 6e |. .Path_ObjectEn| 00000230 64 0d 00 18 0d 3d 4e 6f 45 6e 74 72 79 25 0d 00 |d....=NoEntry%..| 00000240 19 04 0d 00 1a 04 0d 00 1b 04 0d 00 1c 04 0d ff |................| 00000250