Graphic object commands, Contain two, G r o b – HP 48g Graphing Calculator User Manual

Page 116: K e y programmable description coimnaiid

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

Graphic Object Commands

The

PRG

command menus

contain two

submenus,

G R O B

and P I C T , that contain programmable commands useful for

manipulating pictures and picture elements.

Graphics Object Commands

K e y

Programmable

Description

Coimnaiid

fPRGj Pi

- ^ ■

P I C T

PICT

Puts the name

P I C T

on the stack so

you can access the PICT graphics
object as if it were stored in a variable.

P D 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 h i 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

Advertising
This manual is related to the following products: