Pttext, Pxlchg, Pxlcrcl – Texas Instruments TITANIUM TI-89 User Manual

Page 857: Pxlhorz, Pxlline, Appendix a: functions and instructions 857

Advertising
background image

Appendix A: Functions and Instructions

857

PtText

CATALOG

PtText

string

,

x

,

y

Displays the Graph screen and places the
character string

string

on the screen at the pixel

nearest the specified (

x, y

) window coordinates.

string

is positioned with the upper-left corner of

its first character at the coordinates.

PtText "sample",3,5

¸

PxlChg

CATALOG

PxlChg

row

,

col

PxlChg

rowList

,

colList

Displays the Graph screen and reverses the pixel
at pixel coordinates (

row

,

col

).

Note: Regraphing erases all drawn items.

PxlChg 2,4

¸

PxlCrcl

CATALOG

PxlCrcl

row

,

col

,

r

[,

drawMode

]

Displays the Graph screen and draws a circle
centered at pixel coordinates (

row

,

col

) with a

radius of

r

pixels.

If

drawMode

= 1, draws the circle (default).

If

drawMode

= 0, turns off the circle.

If

drawMode

= -1, inverts pixels along the circle.

Note: Regraphing erases all drawn items. See
also

Circle

.

PxlCrcl 40,80,30,1

¸

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.

PxlLine 50,15,20,90,1

¸

Advertising