Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars » StarInfo/Vernon/!FontTrix/Demos/demo7
StarInfo/Vernon/!FontTrix/Demos/demo7
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 » Acorn User » AU 1997-09 B.adf » Regulars |
Filename: | StarInfo/Vernon/!FontTrix/Demos/demo7 |
Read OK: | ✔ |
File size: | 0149 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > demo 20LIBRARY "<Font_SR$Dir>.Procs" 30PROCset_fontmax(50,50) 40PROCinitialise(63,192) 50font1=FNopen_font("Trinity.Bold", 30,30, 2,0, 63,192) 60 70x%=50 80FOR n%=0 TO 1080 STEP 6 90 x%=x%+4 100 y%=400+((EXP(n%/600))*50*COSRAD(n%)) 110 PROCfont_scale(font1,"*Acorn User",x%,y%,1,1) 120NEXT 130 140PROCclose_font(font1) 150PROCreset_fontmax 170END
� > demo ț "<Font_SR$Dir>.Procs" �set_fontmax(50,50) (�initialise(63,192) 28font1=�open_font("Trinity.Bold", 30,30, 2,0, 63,192) < F x%=50 P� n%=0 � 1080 � 6 Z x%=x%+4 d$ y%=400+((�(n%/600))*50*��(n%)) n0 �font_scale(font1,"*Acorn User",x%,y%,1,1) x� � ��close_font(font1) ��reset_fontmax �� �
00000000 0d 00 0a 0c f4 20 3e 20 64 65 6d 6f 0d 00 14 1c |..... > demo....| 00000010 c8 9b 20 22 3c 46 6f 6e 74 5f 53 52 24 44 69 72 |.. "<Font_SR$Dir| 00000020 3e 2e 50 72 6f 63 73 22 0d 00 1e 17 f2 73 65 74 |>.Procs".....set| 00000030 5f 66 6f 6e 74 6d 61 78 28 35 30 2c 35 30 29 0d |_fontmax(50,50).| 00000040 00 28 17 f2 69 6e 69 74 69 61 6c 69 73 65 28 36 |.(..initialise(6| 00000050 33 2c 31 39 32 29 0d 00 32 38 66 6f 6e 74 31 3d |3,192)..28font1=| 00000060 a4 6f 70 65 6e 5f 66 6f 6e 74 28 22 54 72 69 6e |.open_font("Trin| 00000070 69 74 79 2e 42 6f 6c 64 22 2c 20 33 30 2c 33 30 |ity.Bold", 30,30| 00000080 2c 20 32 2c 30 2c 20 36 33 2c 31 39 32 29 0d 00 |, 2,0, 63,192)..| 00000090 3c 04 0d 00 46 09 78 25 3d 35 30 0d 00 50 15 e3 |<...F.x%=50..P..| 000000a0 20 6e 25 3d 30 20 b8 20 31 30 38 30 20 88 20 36 | n%=0 . 1080 . 6| 000000b0 0d 00 5a 0d 20 20 78 25 3d 78 25 2b 34 0d 00 64 |..Z. x%=x%+4..d| 000000c0 24 20 20 79 25 3d 34 30 30 2b 28 28 a1 28 6e 25 |$ y%=400+((.(n%| 000000d0 2f 36 30 30 29 29 2a 35 30 2a 9b b2 28 6e 25 29 |/600))*50*..(n%)| 000000e0 29 0d 00 6e 30 20 20 f2 66 6f 6e 74 5f 73 63 61 |)..n0 .font_sca| 000000f0 6c 65 28 66 6f 6e 74 31 2c 22 2a 41 63 6f 72 6e |le(font1,"*Acorn| 00000100 20 55 73 65 72 22 2c 78 25 2c 79 25 2c 31 2c 31 | User",x%,y%,1,1| 00000110 29 0d 00 78 05 ed 0d 00 82 04 0d 00 8c 16 f2 63 |)..x...........c| 00000120 6c 6f 73 65 5f 66 6f 6e 74 28 66 6f 6e 74 31 29 |lose_font(font1)| 00000130 0d 00 96 12 f2 72 65 73 65 74 5f 66 6f 6e 74 6d |.....reset_fontm| 00000140 61 78 0d 00 aa 05 e0 0d ff |ax.......| 00000149