Pxlhorz, Pxlline, Pxloff – Texas Instruments PLUS TI-89 User Manual

Page 501: Pxlon, Pxltest()

Advertising
background image

484 Appendix A: Functions and Instructions

8992APPA.DOC TI-89 / TI-92 Plus: Appendix A (US English) Susan Gullord Revised: 02/23/01 1:48 PM Printed: 02/23/01 2:21 PM Page 484 of 132

PxlHorz

CATALOG

PxlHorz

row

[,

drawMode

]

Displays the Graph screen and draws a
horizontal line at pixel position

row

.

If

drawMode

= 1, draws the line (default).

If

drawMode

= 0, turns off the line.

If

drawMode

= -1, turns a line that is on to off

or off to on (inverts pixels along the line).

Note

: Regraphing erases all drawn items. See

also

LineHorz

.

PxlHorz 25,1 ¸

PxlLine

CATALOG

PxlLine

rowStart

,

colStart

,

rowEnd

,

colEnd

[,

drawMode

]

Displays the Graph screen and draws a line
between pixel coordinates (

rowStart

,

colStart

)

and (

rowEnd

,

colEnd

), including both

endpoints.

If

drawMode

= 1, draws the line (default).

If

drawMode

= 0, turns off the line.

If

drawMode

= -1, turns a line that is on to off

or off to on (inverts pixels along the line).

Note

: Regraphing erases all drawn items. See

also

Line.

TI-89:

PxlLine 50,15,20,90,1 ¸

TI-92 Plus:

PxlLine 80,20,30,150,1

¸

PxlOff

CATALOG

PxlOff

row

,

col

PxlOff

rowList

,

colList

Displays the Graph screen and turns off the
pixel at pixel coordinates (

row

,

col

).

Note

: Regraphing erases all drawn items.

PxlHorz 25,1 ¸

PxlOff 25,50 ¸

25,50

PxlOn

CATALOG

PxlOn

row

,

col

PxlOn

rowList

,

colList

Displays the Graph screen and turns on the
pixel at pixel coordinates (

row

,

col

).

Note

: Regraphing erases all drawn items.

PxlOn 25,50 ¸

pxlTest()

CATALOG

pxlTest (

row

,

col

)

Boolean expression

pxlTest (

rowList

,

colList

)

Boolean expression

Returns

true

if the pixel at pixel coordinates

(

row

,

col

) is on. Returns

false

if the pixel is off.

Note

: Regraphing erases all drawn items.

PxlOn 25,50 ¸

TI-89:

"

TI-92 Plus:

¥ "

PxlTest(25,50) ¸

true

PxlOff 25,50 ¸

TI-89:

"

TI-92 Plus:

¥ "

PxlTest(25,50) ¸

false

Advertising
This manual is related to the following products: