VISSECT
(Statement)

Draw a sector on the screen.

VISSECT <X coordinate>, <Y coordinate>, <outer diameter>, <inner diameter>, <start angle>, <end angle>

<X coordinate >
Specifies the X coordinate of the sector to be drawn.
<Y coordinate >
Specifies the Y coordinate of the sector to be drawn.
<outer diameter>
Specifies the outer diameter of the sector to be drawn.
<inner diameter>
Specifies the inner diameter of the sector to be drawn.
<start angle>
Specifies the start angle of the sector to be drawn.
<end angle>
Specifies the end angle of the sector to be drawn.

-
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
|
VISSECT 255,255,100,50,100,260
|
'Draw a sector
|