Sinclair QL Beginner's Manual page 82

Hide thumbs Also See for QL:
Table of Contents

Advertisement

would produce a red border. You can make a border of other colours and textures by the usual
methods. For example,
BORDER 10
Will add a 10 pixel thick transparent border to the current window (transparent because no colour was
specified) and
BORDER 2,0,7,0
Will add a 2 pixel thick black and white stipple border.
BLOCK
You can specify a block's size, position and colour with a single statement. It is placed in the pixel co-
ordinate system relative to the current window or screen. For example:
BLOCK #5,10,20,50,100,2
would create a block in the # 5 window at a position 50 units across and 100 units down. It would be
10 units wide and 20 units high. Its colour would be red.
It is worth noting that WINDOW and BLOCK statements work without alteration in 4 and 8 colour
mode (though the colours may vary) because the across values are always on a 0 to 511 scale and
there are always 256 pixel positions down.
SPECIAL PRINTING CSIZE
You can alter the size of characters. For example:
CSIZE 3,1
will give the largest possible characters and:
CSIZE 0,0
will give the smallest. The first number must be 0, 1, 2 or 3 and determines the width. The second
must be 0 or 1 and determines the height. The normal sizes are:
MODE 4
MODE 8
The number of lines and columns available for each character size is dependent on whether the
output is viewed on a monitor or on a television set: the row and column sizes given are for a monitor;
those for a television set will be smaller and also will vary between different televisions.
If you are using low resolution mode the QL will not allow you to select a character size smaller than
default size.
STRIP
You can provide a special background for characters to make them stand out. For example:
STRIP 7
will give a white strip while
STRIP 2,4,2
CSIZE 0,0
CSIZE 2,0

Advertisement

Table of Contents
loading

Table of Contents