
Graphic Object Commands
The PRG command menus contain two submenus, GROB
and PICT , that contain programmable commands useful for
manipulating pictures and picture elements.
Graphics Object Commands
Key
Programmable
Description
Coimnaiid
fPRGj Pi
- ^ ■
P I CT
PICT
Puts the name PICT on the stack so
you can access the PICT graphics
object as if it were stored in a variable.
PD I M
PDIM
Redimensions PICT to the dimensions
given in levels 2 and 1, Dimensions are
either the width and height (given in
pixels) or the minimum and maximum
coordinates (given in user-units).
!.... I hi E!
LINE
Draws a line in PICT between the
coordinates in levels 2 and 1,
1 L. I N h.
TLINE
Same as LINE except that pixels along
the line are toggled on or off, rather
than turned on.
b U :■ ■ ■ :
BOX
Draws a box in PICT using two
coordinate arguments as opposite
corners.
i“i Q i"‘-
ARC
Draws an arc in PICT centered at a
coordinate (in level 4) with a given
radius (in level 3) counterclockwise from
01 (in level 2) to 02 (in level 1), (The
coordinate and radius must both use
user-units or pixels,)
P T y M i-.i
PIXON
Turns on the pixel in PICT specified in
level 1,
F= T |“| p
PIXOFF
Turns off the pixel in PICT specified in
level 1,
9-8 Graphic Objects
Kommentare zu diesen Handbüchern