Sanyo MBC-550 Series User Manual page 173

Table of Contents

Advertisement

viewport, it is easy to synthesize graphics by repeat­
ing the same patterns.
Example
>10 CLS
>20 FOR 1=190 TO 1 STEP 20
>30 VIEW(X,Y)(X+I,Y+I),,PSET
>1*0 CIRCLE(320,100),70
>50 X=X+30:Y=Y+15
>60 NEXT
>70 END
The initial vaues of the window and the viewport are
(0,0)—(639»199) and (0,0) —(639,199), respectively. This
window/viewport ratio makes the vertical and horizontal
lines, which consist of the same number of dots in the
world coordinate system, assume the same length both
vertically and horizotally on the screen, as the verti­
cal size of each dot on the screen is greater than the
horizontal size.
3—106

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents