home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1997
/
ARCHIVE_97.iso
/
text
/
hints
/
vol_03
/
issue_10
< prev
next >
Wrap
Text File
|
1995-02-16
|
3KB
|
112 lines
Å Arthur Fonts Ö when using the FontDes program supplied with Arthur
operating system, it is possible to vary the thickness of one or both
ends of the line. This is achieved by using the adjust button when the
mouse is positioned over a line in a öchar fullò window (this then
highlights the line) and then pressing the menu button at either end of
the line. This will bring up a Épen ratioæ window which allows you to
alter the percentage ratio of the pen at that point, the ratio is set by
clicking on the percentage windowæs quit box.
3.10
3.10
Å Extra Brushes for !Paint Ö you can add your own brushes to the !Paint
package by including the desired shapes in the ÉSpritesæ file i.e.
3.10
(i) Open up the !Paint directory by double clicking on !Paint while
holding the shift button down
3.10
(ii) Load the ÉSpritesæ file into !Paint
3.10
(iii) Create the brush shapes you want in this file
3.10
(iv) Save the ÉSpritesæ file
3.10
Donæt forget to make a note of the names of the brushes you created so
that you can access them from the tools menu. David Parker
3.10
3.10
Å Hard Spaces can be entered using the <alt> key and typing <1><6><0> on
the numeric keypad but a much quicker way is just to type <alt><space>.
Charles Moire
3.10
3.10
Å Lightning strikes Ö Be warned! Donæt leave your modem connected to
the phone line when there is an electrical storm. I did and the spikes
that came up the phone line killed a new V22bis modem and the RS423 port
on the Archimedes! David Leckie.
3.10
3.10
Å Memory Saving Ö It is worth remembering that sprites with masks take
up twice as much room as those without. If all sprites are altered with
!Paint to remove the mask, a considerable amount of memory can be saved.
Ian Hamilton.
3.10
3.10
Å Printing with 1M Ö when using Draw, Paint, Impression, Acorn DTP, etc
you can quit !PrinterDM (or whatever printer driver you use) to reclaim
about 80k of RAM. It would appear that these applications only need the
modules that remain in the RMA area after the !PrinterDM application has
been quit so all the print options are still available. R J Denison
3.10
3.10
Å Wimp Window Drawing Ö The usual construction for defining a graphic
window and drawing into it would look something like this:
3.10
DEFPROCgraphic_window
3.10
VDU26,5,24,graphicsbx%;graphicsby%;graphicstx%;graphicsty%
3.10
ORIGIN reportbx%-scrollx%,reportty%-scrolly%
3.10
ENDPROC
3.10
3.10
DEFPROCdraw_text (x%,y%,text$)
3.10
MOVE x%,y% : PRINT text$
3.10
ENDPROC
3.10
3.10
This will work okay until the values in the origin statement exceed
32767. I found that I had blank screens in the middle of large reports.
The following changes cured the problem:
3.10
DEFPROCgraphic_window
3.10
VDU26,5,24,graphicsbx%;graphicsby%;graphicstx%;graphicsty%
3.10
y%=reportty%-scrolly% : compensationy%=0
3.10
REPEAT
3.10
IF y%>32000 THEN y%-=32000 : compensationy%+=32000
3.10
UNTIL y%<=32000
3.10
ORIGIN reportbx%-scrollx%,y%
3.10
ENDPROC
3.10
3.10
DEFPROCdraw_text (x%,y%,text$)
3.10
MOVE x%, y%+compensationy%: PRINT text$
3.10
ENDPROC
3.10
Although you would have a problem in the x-direction, it is unlikely
that a window would be that wide. A similar change could be applied if
this was necessary. Ian Hamilton.
3.10
3.10