| cmd_andpic | Function (ROM Call 0x32A)

AMS 1.01 or higher | bascmd.h

void cmd_andpic (SYM_STR SymName, CESI y, CESI x);

Executes TI-Basic 'AndPic' command.

cmd_andpic displays the Graph Screen and logically ANDs the picture stored in the TI-Basic variable pointed to by SymName (a VAT variable string, see SYMSTR) into the current graph screen at the pixel coordinates determined by the values pointed to by y and x, respectively. Both x and y should point to integer items. SymName should be the name of a PIC variable.
See BitmapPut for much faster low-level manipulations with bitmap pictures, independently of the Graph Screen.

Uses: GetValue, HToESI, gr_active, GraphActivate, DerefSym, VarRecall, WinBitmapPut

See also: cmd_rclpic, cmd_xorpic, cmd_rplcpic, cmd_stopic, BitmapPut