Winfill - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

1170

WinFill

Declaration:
void WinFill (WINDOW * w , const WIN_RECT * rWin , BYTE Attr )
Category(ies):
Windows
Description:
Fill a region of a window with a given attribute.
Inputs:
w
rWin — Window coordinates of rectangle to fill.
Attr
Outputs:
None
None
Assumptions:
None
Side Effects:
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
WinFillTriangle
Example:
WIN_RECT wr = { 24, 16, 42, 32 };
WinFont( &appW, F_6x8 );
WinStrXY( &appW, 24, 16, "ABC" );
WinStrXY( &appW, 24, 24, "DEF" );
WinFill( &appW, &wr, A_XOR );
ngetchx();
/* wait for user */
WinFill( &appW, &wr, A_XOR );
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Windows
— WINDOW struct of a previously opened window.
— Attribute to use — A_NORMAL (set), A_REVERSE (cleared),
A_XOR (all pixels are reversed).
/* draw some text */
/* highlight text */
/* un-highlight text */
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents