Denso RC5 Specifications Page 584

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 583
21-32
VISRECT (Statement)
Function
Draws a rectangle on the screen.
Format
VISRECT <X coordinate >, <Y coordinate >, <Width>, <Height>[, <Mode>[,
<Angle>] ]
Explanation
<X coordinate > Designates the X coordinate of the rectangle to be drawn.
<Y coordinate > Designates the Y coordinate of the rectangle to be drawn.
<Width> Designates the width of the rectangle to be drawn.
<Height> Designates the height of the rectangle to be drawn.
<Mode> Designates the mode for drawing.
0: Draws only an outline of the rectangle.
1: Draws a whole coated screen.
If ignored, 0 will be the default setting.
<Angle> Designates the angle of the line to be drawn. If ignored, 0 degrees
is will be the default setting.
Note (1): Values of X and Y coordinates, lengths and angles are not
checked. If they are out of the permissible drawing range, no
error will result.
Note (2): The object screen is the screen set with VISSCREEN.
Note (3): The brightness value for drawing is the same as the
brightness designated with VISBRIGHT.
Note (4): For this instruction, a µ
µµ
µVision board (option) is required.
Related Terms
VISSCREEN, VISBRIGHT
Example
VISPLNOUT 0 'Displays the storage memory 0 (processing screen).
VISSCREEN 0,0,1 'Instantaneously draws on the processing screen 0.
VISCLS 0 'Clears the screen.
VISBRIGHT 255 'Sets the brightness value for the drawing.
FORI1=0TO360STEP 5 '
FOR VISRECT 256,256,100,100,0,I1 'Draws a rectangle with a height of 100 and width of 100.
NEXT I1 '
VISRECT 200,200,50,50,1,45 'Draws a coated rectangle with a height of 50 and width of 50.
X axis
axis
A
ngle
(X coordinate,
Y coordinate)
Width
Height
Page view 583
1 2 ... 579 580 581 582 583 584 585 586 587 588 589 ... 691 692

Comments to this Manuals

No comments