VISCROSS
(Statement)

Draw a cross symbol on the screen.

VISCROSS <X coordinate>, <Y coordinate>[, <axis length 1> [, <axis length 2> [, <angle>]]]

<X coordinate>
Specifies the X coordinate of the cross symbol to be drawn.
<Y coordinate>
Specifies the Y coordinate of the cross symbol to be drawn.
<axis length 1>
Specifies the axis length of the cross symbol to be drawn. If ignored, 10 will be the default setting.
<axis length 2>
Specifies the axis length of the cross symbol to be drawn. If ignored, 10 will be the default setting.
<angle>
Specifies the angle of the cross symbol to be drawn. If ignored, 0 degrees will be the default setting.

-
Specified values are not checked. Even if they are out of the permissible drawing range, no error will result.
-
The object screen is the screen set with VISSCREEN.
-
The brightness value for drawing is the same as the brightness designated with VISBRIGHT.
-
For this instruction, a µVision board (option) is required.


VISPLNOUT 0
|
'Display storage memory 0 (processing screen)
|
VISSCREEN 0,0,1
|
'Instantaneously draw on processing screen 0
|
VISCLS 0
|
'Clear the screen
|
VISBRIGHT 255
|
'Set the brightness value for drawing
|
VISCROSS 255,255,10,20,45
|
'Draw a cross symbol
|