bas7advr.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
DRAW Statement Macro Language
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Rotation, Color, and Scale-Factor Commands
The rotation, color and scale-factor commands let you change the appearance
of a drawing by rotating it, changing colors, or scaling it:
Command Description Range of values Comments
═══════ ═══════════ ════════════════════════ ═════════════════════════
A n Set angle n = 0 to 3, where Figures rotated 90° or
rotation 0 is 0°, 270° are scaled so they
1 is 90°, appear the same size
2 is 180°, on a monitor screen
3 is 270°. with a 4:3 aspect ratio.
TA n Turn an -360 <= n <= 360 If n is positive, coun-
angle terclockwise rotation.
S n Set scale 1 <= n <= 255 Set scale factor n,
which can range from 0
to 255, inclusive.
Increase or decrease
length of moves. The
default for n is 4,
which causes no scaling.
The scale factor
multiplied by movement-
command arguments
(divided by 4) gives
the actual distance
moved.
C n Set color See the COLOR, PALETTE,
and SCREEN statements
for discussions of valid
color numbers and
attributes.
P p,b p is the paint color
for a figure's interior,
while b is the
paint color for the
figure's border.
Usage Notes
■ See the ◄PAINT Statement► for more information about painting an area
with a graphic pattern.
■ The following example uses TA to draw spokes:
SCREEN 1
FOR D = 0 TO 360 STEP 10
DRAW "TA=" + VARPTR$(D) + "NU50"
NEXT D
See Also ◄DRAW►
◄Line-Drawing and Cursor-Movement Commands►
◄X, the Substring Command►