 |
cmd_pxlvert |
Function (ROM Call 0x37D) |
Executes TI-Basic 'PxlVert' command.
cmd_pxlvert displays the Graph Screen and draws, erases, or inverts a
vertical line on it.
The parameters x and drawmode should point to two integer items
on the expression stack, which represent respectively the x coordinate of the
line and the drawing mode. The x coordinate is an absolute pixel coordinate
(independent of the current window settings), where 0 is the left border of
the Graph Screen. The parameter drawmode should point to one of the
following values:
1 | Draws the line. |
0 | Erases the line. |
-1 | Inverts pixels along the line. |
See also cmd_linehorz, which uses
window-relative coordinates, and
DrawLine (or
DrawClipLine) for much faster
low-level line drawing (independently of the Graph Screen).
Uses: GetValue, gr_active, GraphActivate, MakeWinRect, WinAttr, WinLine
See also: cmd_linevert, DrawLine, DrawClipLine, cmd_pxlhorz, cmd_pxlline