 |
WinFill |
Function (ROM Call 0x10) |
Draws a filled rectangle to a window.
WinFill draws a filled rectangle (i.e. fills a rectangular region of a window)
given by WIN_RECT structure rect to the window
pointed to by w, using the attribute Attr.
All coordinates are relative to the topleft corner of the window. The rectangle will be
clipped at the boundaries of the clipping area of the window. Supported attributes are:
A_NORMAL | Fill with black pixels |
A_REVERSE | Fill with white pixels |
A_XOR | All pixels in the rectangle will be reversed |
WinFillLines2 is more complicated and slower function than WinFill,
but it supports much more attributes. See WinAttr for more info about attributes.
Note: TI said that attribute A_SHADED (set to a pattern of pixels on and off) is also supported,
but it didn't work when I tried it; at least, it does not work on AMS 1.00.
Uses: RectWinToScr, WinToScr, PortRestore, ScrRectFill, ScrRectOverlap, ROM Call 0x413
Used by: cmd_cubicreg, cmd_disphome, cmd_expreg, cmd_input, cmd_inputstr, cmd_linreg, cmd_lnreg, cmd_logistic, cmd_medmed, cmd_onevar, cmd_pause, cmd_powerreg, cmd_prompt, cmd_quadreg, cmd_quartreg, cmd_twovar, Dialog, EV_defaultHandler, handleVarLinkKey, HomeExecute, ST_eraseHelp, ST_modKey, ST_precision, ST_progressBar, ST_progressUpdate, ST_helpMsg, TE_focus, TE_handleEvent, TE_open, TE_openFixed, TE_pasteText, TE_select, TE_unfocus, EV_quit