 |
cmd_pxltext |
Function (ROM Call 0x37C) |
Executes TI-Basic 'PxlText' command.
cmd_pxltext displays the Graph Screen and places a character string on the
screen at the pixel (x,y). The coordinates are absolute pixel coordinates
(independent of the current window settings), where (0,0) is the top left
corner of the Graph Screen, excluding the menu area.
The parameters y and x should point to integer items
on the expression stack which determine the coordinates (note that the order of x and y
coordinates is swapped), and the parameter string should point to the
tag of a string expression to be displayed.
See also cmd_pttext, which uses
window-relative coordinates, and
DrawStr for
much faster low-level string drawing (independently of the Graph Screen).
Uses: GetValue, gr_active, ForceFloat, GraphActivate, XCvtFtoP, YCvtFtoP, WinAttr, WinStrXY
See also: cmd_pttext, DrawStr