CALL LSTYLE
This page was last modified 16:00, 17 May 2020 by Mars2000you.

Contents

Effect

Specifies the drawing style to be used with the CALL SPSET instruction.

Syntax

CALL LSTYLE(<DrawingStyle>)

Parameter

<DrawingStyle> is a number between 0 and 7
0 = 1 pixel ('normal' drawing)
1 = 2 pixels in horizontal and vertical directions
2 = 3 pixels in horizontal and vertical directions
3 = 4 pixels in horizontal and vertical directions
4 to 7 = same as 0 to 3, but with an hatched effect

Example

10 COLOR 15,1,7: SCREEN 2
20 _LSTYLE(0)
30 _SPSET((10,10))
40 FOR I=1 TO 3
50 _LSTYLE(I)
60 _SPSET((10+20*I,10),6+I)
70 NEXT I
80 FOR I=4 TO 7
90 _LYSTLE(I)
100 _SPSET (STEP(-10,40),6+I)
110 NEXT I
120 GOTO 120

Related to

CALL SLINE, CALL SPSET

Compatibility

EddyII BASIC