Home » Archimedes archive » Archimedes World » AW-1994-12-Disc1.adf » Disk1Dec94 » !AWDec94/Goodies/DrawBasic/!DrawBasic/Library/TestProgs/RotateText

!AWDec94/Goodies/DrawBasic/!DrawBasic/Library/TestProgs/RotateText

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 » Archimedes archive » Archimedes World » AW-1994-12-Disc1.adf » Disk1Dec94
Filename: !AWDec94/Goodies/DrawBasic/!DrawBasic/Library/TestProgs/RotateText
Read OK:
File size: 0120 bytes
Load address: 0000
Exec address: 0000
File contents
�Origin(5,5)
 �Font("Trinity.Medium",25)
 n=16
 FOR i%=0 TO n
    angle=i%*2*PI/n
   �AnglePrint("DrawBasic",COSangle,SINangle,angle)
   NEXT
 �TextColour(�Red)
 �Font("Trinity.Medium.Italic",35)
 �Print("The",-5,5.5)
 �Font("Trinity.Medium",35)
 �Print("Graphics package",-3,5.5) 
�Quit
00000000  a0 4f 72 69 67 69 6e 28  35 2c 35 29 0a 20 a0 46  |.Origin(5,5). .F|
00000010  6f 6e 74 28 22 54 72 69  6e 69 74 79 2e 4d 65 64  |ont("Trinity.Med|
00000020  69 75 6d 22 2c 32 35 29  0a 20 6e 3d 31 36 0a 20  |ium",25). n=16. |
00000030  46 4f 52 20 69 25 3d 30  20 54 4f 20 6e 0a 20 20  |FOR i%=0 TO n.  |
00000040  20 20 61 6e 67 6c 65 3d  69 25 2a 32 2a 50 49 2f  |  angle=i%*2*PI/|
00000050  6e 0a 20 20 20 a0 41 6e  67 6c 65 50 72 69 6e 74  |n.   .AnglePrint|
00000060  28 22 44 72 61 77 42 61  73 69 63 22 2c 43 4f 53  |("DrawBasic",COS|
00000070  61 6e 67 6c 65 2c 53 49  4e 61 6e 67 6c 65 2c 61  |angle,SINangle,a|
00000080  6e 67 6c 65 29 0a 20 20  20 4e 45 58 54 0a 20 a0  |ngle).   NEXT. .|
00000090  54 65 78 74 43 6f 6c 6f  75 72 28 bb 52 65 64 29  |TextColour(.Red)|
000000a0  0a 20 a0 46 6f 6e 74 28  22 54 72 69 6e 69 74 79  |. .Font("Trinity|
000000b0  2e 4d 65 64 69 75 6d 2e  49 74 61 6c 69 63 22 2c  |.Medium.Italic",|
000000c0  33 35 29 0a 20 a0 50 72  69 6e 74 28 22 54 68 65  |35). .Print("The|
000000d0  22 2c 2d 35 2c 35 2e 35  29 0a 20 a0 46 6f 6e 74  |",-5,5.5). .Font|
000000e0  28 22 54 72 69 6e 69 74  79 2e 4d 65 64 69 75 6d  |("Trinity.Medium|
000000f0  22 2c 33 35 29 0a 20 a0  50 72 69 6e 74 28 22 47  |",35). .Print("G|
00000100  72 61 70 68 69 63 73 20  70 61 63 6b 61 67 65 22  |raphics package"|
00000110  2c 2d 33 2c 35 2e 35 29  20 0a a0 51 75 69 74 0a  |,-3,5.5) ..Quit.|
00000120